ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using Error Message as test Criteria (https://www.excelbanter.com/excel-worksheet-functions/94446-using-error-message-test-criteria.html)

Taru

Using Error Message as test Criteria
 

If a formula returns a number or an error message how do I use the error
message in a logical test.


--
Taru
------------------------------------------------------------------------
Taru's Profile: http://www.excelforum.com/member.php...o&userid=35494
View this thread: http://www.excelforum.com/showthread...hreadid=552702


Tim M

Using Error Message as test Criteria
 
Here is a formula that with a Cell A2/B2. If there is an error (such as Div
0#) it inserts a blank, if there is no error it does shows the calculation.
does that help?

=IF(ISERR(A2/B2)=TRUE,"",A2/B2)

"Taru" wrote:


If a formula returns a number or an error message how do I use the error
message in a logical test.


--
Taru
------------------------------------------------------------------------
Taru's Profile: http://www.excelforum.com/member.php...o&userid=35494
View this thread: http://www.excelforum.com/showthread...hreadid=552702



dhoward via OfficeKB.com

Using Error Message as test Criteria
 
Wow, I was just wondering how to do this and here's this posting. I am
working with a large spreadsheet which is downloaded each month. I've pasted
my formula into an entire row and now want those cells with the error message
to be blank. How do incorporate this into my formula, =LOOKUP(AA23,{0.12,0.
13,0.14,0.15,0.16,0.17,0.18,0.19,0.2,0.21,0.22,0.2 3,0.24,0.25},{".08",".10",".
10",".10",".105",".11",".11",".13",".13",".13",".1 4",".14",".14"})?

Tim M wrote:
Here is a formula that with a Cell A2/B2. If there is an error (such as Div
0#) it inserts a blank, if there is no error it does shows the calculation.
does that help?

=IF(ISERR(A2/B2)=TRUE,"",A2/B2)

If a formula returns a number or an error message how do I use the error
message in a logical test.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1


All times are GMT +1. The time now is 11:43 PM.

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