A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Check for error.type in same cell



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2009, 05:39 AM posted to microsoft.public.excel.worksheet.functions
ART
external usenet poster
 
Posts: 432
Default Check for error.type in same cell

Hello all:

Is it possible to use the formula Error.type to check if the cell has a
certain error? So, for example, in cell A1 I start with =if(error.type("the
cell itself with a formula")= 6, "yes","no"). Is this possible? To check for
the cell itself if the result of the formula results in an error it should
result to yes or no.

Thanks.

Art.
  #2  
Old May 13th, 2009, 06:02 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Check for error.type in same cell

You can check whether the formula returns an error or not..

=IF(ISERROR(formula),"",formula)

If this post helps click Yes
---------------
Jacob Skaria


"art" wrote:

Hello all:

Is it possible to use the formula Error.type to check if the cell has a
certain error? So, for example, in cell A1 I start with =if(error.type("the
cell itself with a formula")= 6, "yes","no"). Is this possible? To check for
the cell itself if the result of the formula results in an error it should
result to yes or no.

Thanks.

Art.

  #3  
Old May 13th, 2009, 06:14 AM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Check for error.type in same cell

Try this:

=IF(ISERROR(A1),IF(ERROR.TYPE(A1)=6,"Yes","No"),"" )

--
Biff
Microsoft Excel MVP


"art" wrote in message
news
Hello all:

Is it possible to use the formula Error.type to check if the cell has a
certain error? So, for example, in cell A1 I start with
=if(error.type("the
cell itself with a formula")= 6, "yes","no"). Is this possible? To check
for
the cell itself if the result of the formula results in an error it should
result to yes or no.

Thanks.

Art.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.