ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Formula or Format Error?? (https://www.excelbanter.com/new-users-excel/114703-formula-format-error.html)

DavidB

Formula or Format Error??
 
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.1 5)+(X13*0.85))))

Cheers
David

Biff

Formula or Format Error??
 
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

"DavidB" wrote in message
...
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.1 5)+(X13*0.85))))

Cheers
David




DavidB

Formula or Format Error??
 
Thanks Biff

"Biff" wrote:

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

"DavidB" wrote in message
...
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.1 5)+(X13*0.85))))

Cheers
David





Biff

Formula or Format Error??
 
You're welcome!

Biff

"DavidB" wrote in message
...
Thanks Biff

"Biff" wrote:

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

"DavidB" wrote in message
...
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.1 5)+(X13*0.85))))

Cheers
David








All times are GMT +1. The time now is 07:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com