Conditional formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am working on a spread sheet where I am calculating the percentage of
retail markdowns. I am using the formula below:

=SUM((H3-J3)/H3)

But, in some cases j will be empty, so I want it to use i instead. Is there
a formula I can use to make it use i if j is empty?

Thanks so much!
 
You might want to check for blank H3 as well since you will get an error if
H is blank

=(H3-IF(J3="",I3,J3))/H3

=IF(N(H3)=0,"",(H3-IF(J3="",I3,J3))/H3)
 
Michelle,

I thought it might, thanks for the feedback. However you might like to read
your other posts because checking that J3 is a number is also a good idea.

Mike
 
Back
Top