PC Review


Reply
Thread Tools Rate Thread

Check error cell in C#

 
 
Andrew HUANG
Guest
Posts: n/a
 
      9th Jan 2008
Hi, All,

Some cells may be error, such as #REF!. How to know which cell is in error?

Thanks,
-Andrew
 
Reply With Quote
 
 
 
 
feltra
Guest
Posts: n/a
 
      10th Jan 2008
Assuming this is a question in Excel and not C#, you can key in this
formula in another cell.

Say you key in this formula in Cell N10:
=IF (ISNA(D10), 1, IF(ISERR(D10), 1, 0) )

then, whenever cell D10 gets a # error (such as #REF! #NA etc) cell
N10 will get a 1. If no error, cell N10 will be 0.

Hope this helps.
-feltra


On Jan 9, 9:33 pm, Andrew HUANG
<AndrewHU...@discussions.microsoft.com> wrote:
> Hi, All,
>
> Some cells may be error, such as #REF!. How to know which cell is in error?
>
> Thanks,
> -Andrew


 
Reply With Quote
 
feltra
Guest
Posts: n/a
 
      10th Jan 2008
On reading your post again, I realised that you may be intereted in
finding out "WHICH" cell is in error and not just HOW to find out
whether a cell is in error?

Well, only way i know is to go thru cell by cell for the desired range
and find out...

-feltra


On Jan 9, 9:33 pm, Andrew HUANG
<AndrewHU...@discussions.microsoft.com> wrote:
> Hi, All,
>
> Some cells may be error, such as #REF!. How to know which cell is in error?
>
> Thanks,
> -Andrew


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy and move check box (check boxes) with new cell link? Marty Microsoft Excel Worksheet Functions 1 20th Jan 2010 07:43 PM
Check for error.type in same cell art Microsoft Excel Worksheet Functions 4 13th May 2009 06:14 AM
Check for error.type in same cell art Microsoft Excel Worksheet Functions 0 13th May 2009 05:39 AM
Color cell if spell check finds an error LiveUser Microsoft Excel Worksheet Functions 3 15th Jan 2008 08:50 PM
Check if Conditional Format is True or False / Check cell Color =?Utf-8?B?S2V2aW4gTWNDYXJ0bmV5?= Microsoft Excel Worksheet Functions 5 29th Jun 2007 11:12 AM


Features
 

Advertising
 

Newsgroups
 


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