IF formula and % calculation returns #DIV/0! error

jayjay123

New Member
Joined
Jun 3, 2021
Messages
45
Office Version
  1. 365
Platform
  1. Windows
Hi Excel gurus,

Can you please help with this? I know there is something wrong with these formulas...
In the yellow cell, I have used this formula. (see below) I know I should be writing "No change" somewhere in the formula but is the IF formula the most appropriate one to use?

Yellow cell (P7)
=IF(O7>0,"Increase","Decrease")

How do I make this +100%
Green cell (Q9)
=O9/N9

I have a blanks within my data set (for example: Row 12). How should I incorporate it so that if there is a blank row, it with return a "blank" cell in P and Q?
Screen Shot 2023-03-10 at 12.17.21 am.png


Thank you!!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Well that is neither blank nor does it contain a space, it will return a number.
Also it does not help when you keep changing the column references.
Based on the images in post#6 if that formula is in D12 then it does not return 0 but a positive number.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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