Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Gazivaldo
 
Posts: n/a
Default An Error return other than #N/A with VLOOKUP

I'm using VLOOKUP to search for an exact match of a cell but when it can't
find a match it returns #N/A. Now, I KNOW, that there sometimes won't be a
match but rather than returning #N/A is it possible for Excel to return a
blank, or better still a shaded cell??
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Anne Troy
 
Posts: n/a
Default An Error return other than #N/A with VLOOKUP

=if(isna(vlookup(...)),"",vlookup(...))
Then use conditional formatting that if the cells is equal to "", it's
shaded.
(Formulas can't change cell color)
************
Anne Troy
VBA Project Manager
www.OfficeArticles.com

"Gazivaldo" wrote in message
...
I'm using VLOOKUP to search for an exact match of a cell but when it can't
find a match it returns #N/A. Now, I KNOW, that there sometimes won't be
a
match but rather than returning #N/A is it possible for Excel to return a
blank, or better still a shaded cell??



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Gazivaldo
 
Posts: n/a
Default An Error return other than #N/A with VLOOKUP

Thanks Anne. I've applied your formula and now I'm receiving a blank cell
which is great. However, for some reason the conditional formatting isn't
working. I've done exactly as you've suggested but it doesn't format any of
the blank cells. Any ideas??

"Anne Troy" wrote:

=if(isna(vlookup(...)),"",vlookup(...))
Then use conditional formatting that if the cells is equal to "", it's
shaded.
(Formulas can't change cell color)
************
Anne Troy
VBA Project Manager
www.OfficeArticles.com

"Gazivaldo" wrote in message
...
I'm using VLOOKUP to search for an exact match of a cell but when it can't
find a match it returns #N/A. Now, I KNOW, that there sometimes won't be
a
match but rather than returning #N/A is it possible for Excel to return a
blank, or better still a shaded cell??




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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 07:53 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"