Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Art Art is offline
external usenet poster
 
Posts: 587
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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
...
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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic Error Run Time Error, Type Mismatch Meg Partridge Excel Discussion (Misc queries) 12 September 10th 08 06:10 PM
xpath error? Runtime Error 13 type mismatch Steve M[_2_] Excel Discussion (Misc queries) 0 January 17th 08 01:16 AM
Color cell if spell check finds an error LiveUser Excel Worksheet Functions 3 January 15th 08 08:50 PM
xpath error? Runtime Error 13 type mismatch SteveM Excel Discussion (Misc queries) 1 December 4th 07 09:16 AM
VBA setting formula for a cell causes "Wrong data type" error undercups Excel Discussion (Misc queries) 4 September 17th 06 10:14 PM


All times are GMT +1. The time now is 03:48 AM.

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

About Us

"It's about Microsoft Excel"