% Change Between 2 Yrs with Iferror formula

msvoboda27

New Member
Joined
Feb 9, 2018
Messages
30
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hello
I was hoping someone could please help with formula that I can't seem too get.
I am doing a simple % change formula, if there is no value in column P/row 99 the cell in R99 shows blank. If have no value in column Q/row 100 the formula calculates with "-100%"
I wanted the formula to also show blank if cell Q/row 100 is blank. It escapes me how to do this. Can some please reeducate me.
Many thanks in advance!
Michael

1580917151116.png
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
The solution above doesn't seem to work since it's using values on two different rows. I apologize I should have been more clear.
I like to make it for a % change formulas if one of the values either p98 or q98 is blank then the formula result cell would also be blank.
I tried "IF(OR(Q98=" ",P98=" "), " " ,(Q98-P98/P98)
Value p98 blank get "#Div/0!"
1580920755360.png


value q98 blank blank get "-100.0%"
1580920802808.png
 
Upvote 0
Sorry my bad!

You've got the right idea but you don't want any spaces between the ""s


=IF(OR(P98="",Q98=""),"",(Q98-P98)/P98)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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