ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Show value anyway (https://www.excelbanter.com/excel-worksheet-functions/6649-show-value-anyway.html)

Pat

Show value anyway
 
If J33 contains a value a calculation will be performed and a result will be
returned
=IF(ISNUMBER(J33),E33-J33,"")

If J33 does not contain a value no calculation will be performed and no
value will be returned. However if E33 contains a value I would want the
value in E33 returned.
Anyone know if this is possible?

Thank you if you can be of help.
Pat



Arvi Laanemets

Hi

=IF(ISNUMBER(J33),E33-J33,IF(ISNUMBER(E33),E33,""))
But what about case where J33 contains a numeric value, but E33 doesn't?
Maybe

=IF(AND(ISNUMBER(J33),ISNUMBER(E33)),E33-J33,IF(ISNUMBER(E33),E33,""))


Arvi Laanemets


"Pat" wrote in message
...
If J33 contains a value a calculation will be performed and a result will

be
returned
=IF(ISNUMBER(J33),E33-J33,"")

If J33 does not contain a value no calculation will be performed and no
value will be returned. However if E33 contains a value I would want the
value in E33 returned.
Anyone know if this is possible?

Thank you if you can be of help.
Pat





Frank Kabel

Hi
try in this case
=N(E33)-N(J33)

"Pat" wrote:

If J33 contains a value a calculation will be performed and a result will be
returned
=IF(ISNUMBER(J33),E33-J33,"")

If J33 does not contain a value no calculation will be performed and no
value will be returned. However if E33 contains a value I would want the
value in E33 returned.
Anyone know if this is possible?

Thank you if you can be of help.
Pat





All times are GMT +1. The time now is 08:09 PM.

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