ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   evaluate #¡VALUE! and #!DIV/0! and other errors.... (https://www.excelbanter.com/excel-worksheet-functions/71493-evaluate-%A1value-div-0-other-errors.html)

jamiguel77

evaluate #¡VALUE! and #!DIV/0! and other errors....
 

hi by sample:

in cell a1 type: 5
in cell a2 type: r

in cell a4 type: =a1+a2

these produce an error #!VALUE! ... i need something like that:

in cell a4:

=if((a1+a2)=#!VALUE!,-50000, a1+a2)


if exist any error i need a -50000 ...

understood?

thanks


--
jamiguel77
------------------------------------------------------------------------
jamiguel77's Profile: http://www.excelforum.com/member.php...o&userid=31521
View this thread: http://www.excelforum.com/showthread...hreadid=512096


Biff

evaluate #¡VALUE! and #!DIV/0! and other errors....
 
Hi!

Try this:

=IF(ISERROR(A1+A2),-50000,A1+A2)

Biff

"jamiguel77" wrote
in message ...

hi by sample:

in cell a1 type: 5
in cell a2 type: r

in cell a4 type: =a1+a2

these produce an error #!VALUE! ... i need something like that:

in cell a4:

=if((a1+a2)=#!VALUE!,-50000, a1+a2)


if exist any error i need a -50000 ...

understood?

thanks


--
jamiguel77
------------------------------------------------------------------------
jamiguel77's Profile:
http://www.excelforum.com/member.php...o&userid=31521
View this thread: http://www.excelforum.com/showthread...hreadid=512096





All times are GMT +1. The time now is 07:16 PM.

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