3 values How to return different value?

springran

Board Regular
Joined
Mar 18, 2014
Messages
52
Office Version
  1. 365
Platform
  1. Windows
product code
Jan price
Feb price
MAR PRICE
% / Different
132
10
10
11
??
399
12
12
12
398
9
8
15

<tbody>
</tbody>
Hi All
I have some sales data.As the table above.
I would like to see if price same for 3 month it shows "nothing" in the last column. if price are different shows how much increase / decrease would be or shows % of increase / decrease.

Thank you in advances

Spring
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
=IF(AND(B2=C2,C2=D2),"nothing",TEXT(D2/B2-1,"#%"))
% increase/decrease is Mar Price over Jan Price, if not change the formula accordingly
 
Upvote 0
maybe =IF(MAX(B2:D2)/MIN(B2:D2)=1,"nothing",MAX(B2:D2)/MIN(B2:D2)-1)

or
=IFERROR(IF(MAX(B4:D4)/MIN(B4:D4)=1,"nothing",MAX(B4:D4)/MIN(B4:D4)-1),MAX(B4:D4)/SMALL(B4:D4,2)-1) against #DIV/0!
 
Last edited:
Upvote 0
=IFERROR(IFERROR(IF(MAX(B4:D4)=MIN(B4:D4),"nothing",MAX(B4:D4)/MIN(B4:D4)-1),MAX(B4:D4)/SMALL(B4:D4,2)-1),MAX(B4:D4)/MAX(B4:D4))

product codeJan priceFeb priceMAR PRICE%
132​
10​
10​
11​
10%​
399​
12​
12​
12​
nothing
398​
9​
8​
15​
88%​
222​
9​
0​
15​
67%​
223​
0​
0​
15​
100%​
224​
0​
0​
0​
nothing
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,793
Members
449,048
Latest member
greyangel23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top