Formula or Format Error??

D

DavidB

Can anyone tell me please why this formula is returning a 4 figure % in my
destination cell Q13 even though I have cleared the cell to "No Decimal
Places":
=IF(OR(V13="",
X13=""),"",IF(V13="N","",IF(X13="R","",SUM(V13*0.15)+(X13*0.85))))

Cheers
David
 
B

Biff

If the result of this:

SUM(V13*0.15)+(X13*0.85)

Is an integer and the cell is formatted as PERCENTAGE then that will happen.

Try this:

=IF(OR(V13="",X13="",V13="N",X13="R"),"",SUM(V13*0.15,X13*0.85)/100)

Biff
 
D

DavidB

Thanks Biff

Biff said:
If the result of this:

SUM(V13*0.15)+(X13*0.85)

Is an integer and the cell is formatted as PERCENTAGE then that will happen.

Try this:

=IF(OR(V13="",X13="",V13="N",X13="R"),"",SUM(V13*0.15,X13*0.85)/100)

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top