[mso] Trap #N/A in Excel
- From: R Shapp <ras45@xxxxxxxxxxxxx>
- To: mso@xxxxxxxxxxxxx
- Date: Thu, 23 Jun 2005 20:03:01 -0400
Hi Group,
How to display a blank cell when the result of an IF function would ordinarily
yield "#N/A" in Excel 2002?
Assume the formula below is in cell B2. The formula scans a vector for the
presence of the numeral "1". If "1" is not present, B2 becomes equal to 1.
If "1" is present, B2 displays "#N/A".
My current work-around is to use conditional formatting, and make the font
color the same as the cell's background. The cell appears blank, but it still
contains the "N/A".
How can I make cell B2 show a "1" when "1" is absent from the vector, and be
really blank when "1" is present in the vector?
Thank you for the help.
Ray Shapp
=IF(ERROR.TYPE(HLOOKUP(1,$B6:$J6,1,FALSE)=7),1,"")
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in
the subject line.
Or, visit the group's homepage and use the dropdown menu. This will also allow
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with
instructions. Once you are a member of the files group, you can go here to
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
- Follow-Ups:
- [mso] Re: Trap #N/A in Excel
- From: Linda F. Johnson
Other related posts:
- » [mso] Trap #N/A in Excel
- » [mso] Re: Trap #N/A in Excel
- » [mso] Re: Trap #N/A in Excel
- [mso] Re: Trap #N/A in Excel
- From: Linda F. Johnson