Avatar of Troy
Troy
Flag for Australia asked on

Excel 2013 Formulas

I would like to calculate % change from last year in column I and need some help with the formula.

Here is my excel table

Excel.JPG
Here is my formula that i have in cell I6.
=(D6-H6)/D6

How can i make it that if cell D6 is blank then the default value in Column I cell I6 is 100%

All cell format types are set to "Accounting"
VB ScriptMicrosoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Flyster

8/22/2022 - Mon
Bill Prew

Try this:

=IF(ISBLANK(D6),1,(D6-H6)/D6)

Open in new window

(assuming you have that column formatted as a percentage and 1 is 100%.  If not change the 1 to 100)

»bp
Troy

ASKER
didnt work. This is what shows in the cell

#DIV/0!
ASKER CERTIFIED SOLUTION
Bill Prew

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Flyster

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck