PC Review


Reply
Thread Tools Rate Thread

Can I Designate Cells "Not Available" Without Raising an Error?

 
 
TC
Guest
Posts: n/a
 
      25th Aug 2007
In earlier versions of Excel, the #N/A value was a useful way of
communicating "value not available". All cells derived from #N/A were
also designated #N/A.

In Excel 2003, #N/A works the same way, except that Excel now marks
all #N/A cells as errors. (i.e. Excel puts a green mark on the cell
and offers help.)

In my application, #N/A is not an error, and I don't want #N/A cells
to be marked as errors. Is there any way to make that happen?

(By the way, I know I can remove error designations by telling Excel
to ignore them, but that isn't a good solution in this case because my
code would need to parse the entire workbook for #N/A, just to ignore
errors, every time the user makes a change.)


-TC

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      25th Aug 2007
I'm using xl2003.

If I type #n/a in a cell formatted as General (anything but Text), excel will
convert it to #N/A.

If I preformat the cell as Text or prefix it with an apostrophe: '#n/a
then excel leaves it as text and ignores it.

=sum() will treat those first #n/a (converted to #N/A) as errors. It'll treat
the second (text versions) as text and ignore them.

I'm not sure how the #n/a gets added to your cell in your case, though.

TC wrote:
>
> In earlier versions of Excel, the #N/A value was a useful way of
> communicating "value not available". All cells derived from #N/A were
> also designated #N/A.
>
> In Excel 2003, #N/A works the same way, except that Excel now marks
> all #N/A cells as errors. (i.e. Excel puts a green mark on the cell
> and offers help.)
>
> In my application, #N/A is not an error, and I don't want #N/A cells
> to be marked as errors. Is there any way to make that happen?
>
> (By the way, I know I can remove error designations by telling Excel
> to ignore them, but that isn't a good solution in this case because my
> code would need to parse the entire workbook for #N/A, just to ignore
> errors, every time the user makes a change.)
>
> -TC


--

Dave Peterson
 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      26th Aug 2007
Dave,

Thanks for the feedback.

To recap, I'm looking for a value I can put into cells which will
convey the meaning of "Not Available" for the cell and all cells
derived from that cell, yet will not cause the cells to be designated
as errors. In Excel 2000, the value #N/A used to do that, but in Excel
2003 #N/A is designated as an error by Excel's helpful (sarcasm) error-
checking feature, and I'm trying to avoid that.

As you reaffirmed, neither #N/A nor any text value like "#N/A" behaves
the way I want. Therefore, I still have no solution.


-TC


On Aug 25, 2:55 pm, Dave Peterson <peter...@verizonXSPAM.net> wrote:
> I'm using xl2003.
>
> If I type #n/a in a cell formatted as General (anything but Text), excel will
> convert it to #N/A.
>
> If I preformat the cell as Text or prefix it with an apostrophe: '#n/a
> then excel leaves it as text and ignores it.
>
> =sum() will treat those first #n/a (converted to #N/A) as errors. It'll treat
> the second (text versions) as text and ignore them.
>
> I'm not sure how the #n/a gets added to your cell in your case, though.
>
>
>
>
>
> TC wrote:
>
> > In earlier versions of Excel, the #N/A value was a useful way of
> > communicating "value not available". All cells derived from #N/A were
> > also designated #N/A.

>
> > In Excel 2003, #N/A works the same way, except that Excel now marks
> > all #N/A cells as errors. (i.e. Excel puts a green mark on the cell
> > and offers help.)

>
> > In my application, #N/A is not an error, and I don't want #N/A cells
> > to be marked as errors. Is there any way to make that happen?

>
> > (By the way, I know I can remove error designations by telling Excel
> > to ignore them, but that isn't a good solution in this case because my
> > code would need to parse the entire workbook for #N/A, just to ignore
> > errors, every time the user makes a change.)

>
> > -TC

>
> --
>
> Dave Peterson- Hide quoted text -
>
> - Show quoted text -


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      26th Aug 2007
I didn't think I confirmed that.

I was trying to explain that if I entered '#N/A (with the leading apostrophe),
then excel saw it as plain old text.

It didn't get treated as an error.

=iserror(a1)
returned False when I did this.



TC wrote:
>
> Dave,
>
> Thanks for the feedback.
>
> To recap, I'm looking for a value I can put into cells which will
> convey the meaning of "Not Available" for the cell and all cells
> derived from that cell, yet will not cause the cells to be designated
> as errors. In Excel 2000, the value #N/A used to do that, but in Excel
> 2003 #N/A is designated as an error by Excel's helpful (sarcasm) error-
> checking feature, and I'm trying to avoid that.
>
> As you reaffirmed, neither #N/A nor any text value like "#N/A" behaves
> the way I want. Therefore, I still have no solution.
>
> -TC
>
> On Aug 25, 2:55 pm, Dave Peterson <peter...@verizonXSPAM.net> wrote:
> > I'm using xl2003.
> >
> > If I type #n/a in a cell formatted as General (anything but Text), excel will
> > convert it to #N/A.
> >
> > If I preformat the cell as Text or prefix it with an apostrophe: '#n/a
> > then excel leaves it as text and ignores it.
> >
> > =sum() will treat those first #n/a (converted to #N/A) as errors. It'll treat
> > the second (text versions) as text and ignore them.
> >
> > I'm not sure how the #n/a gets added to your cell in your case, though.
> >
> >
> >
> >
> >
> > TC wrote:
> >
> > > In earlier versions of Excel, the #N/A value was a useful way of
> > > communicating "value not available". All cells derived from #N/A were
> > > also designated #N/A.

> >
> > > In Excel 2003, #N/A works the same way, except that Excel now marks
> > > all #N/A cells as errors. (i.e. Excel puts a green mark on the cell
> > > and offers help.)

> >
> > > In my application, #N/A is not an error, and I don't want #N/A cells
> > > to be marked as errors. Is there any way to make that happen?

> >
> > > (By the way, I know I can remove error designations by telling Excel
> > > to ignore them, but that isn't a good solution in this case because my
> > > code would need to parse the entire workbook for #N/A, just to ignore
> > > errors, every time the user makes a change.)

> >
> > > -TC

> >
> > --
> >
> > Dave Peterson- Hide quoted text -
> >
> > - Show quoted text -


--

Dave Peterson
 
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
How do I designate the location of the " Documents" folder etc No Spam Windows Vista File Management 1 20th May 2007 12:20 AM
3 Word Vers. On PC. Possible To Designate One As The "Default" ? Robert11 Microsoft Word New Users 2 11th Mar 2005 07:58 AM
designate new "sent items" folder sneaky Microsoft Outlook Discussion 2 23rd Jan 2004 08:06 PM
Need to designate "same household" for contacts April K Microsoft Access Database Table Design 1 15th Dec 2003 10:57 PM
Manual "Windows Update" produces "ActiveX/active scripting" error message even with "LOW" security level setting in "Trusted" Zone Ray2 Windows XP Help 1 14th Nov 2003 06:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.