LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
njuneardave
 
Posts: n/a
Default VLOOKUP - returning the searched for value if it does not exist

I am searching for a value from one table to another (the value is located in
Column A in Sheet2 and column H in Sheet1). The formula seen below is what I
have been using (in Sheet3)

=IF(ISNA(VLOOKUP(Sheet2!A2,Sheet1!$H$2:$H$9000,1,F ALSE)),IF(BTypesInputTable!A2 = "","",BTypesInputTable!A2),"")


the IF statement will convert a null value to a blank space instead of a
zero. But, if the value that im searching for is deleted in Sheet2, i get an
#N/A. Shouldnt this formula just skip a deleted row and go to the next?
(the row is completely deleted....it is not a blank row)


here is what the formula looks like after i try to search for that missing
value:


=IF(ISNA(VLOOKUP(Sheet2!#REF!,Sheet1!$H$2:$H$9000, 1,FALSE)),IF(Sheet2!#REF!
= "", "", Sheet2!#REF!),"")

excel places that #REF! in my formula if the value USED to exist and then
does not anymore.


any ideas on how to fix this?


thanks in advance!

 
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
VLOOKUP not returning results Chris Kellock Excel Worksheet Functions 14 March 19th 08 08:30 AM
vlookup returning a #N/A value Ian Excel Worksheet Functions 5 May 17th 06 02:58 PM
need help with a vlookup but returning a particular match? D7ONO Excel Worksheet Functions 4 May 5th 06 02:14 PM
Vlookup returning #N/A ww Excel Worksheet Functions 2 March 23rd 05 12:24 AM
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 11:21 AM


All times are GMT +1. The time now is 03:11 PM.

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

About Us

"It's about Microsoft Excel"