Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default need help with V lookups

I need a formula that based on a cell completes a Vlookup in one worksheet
tab, and if it can not find a value it completes a Vlookup in a different
worksheet tab.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default need help with V lookups

=If(ISNA(vlookup1),IF(ISNA(Vlookup2),"No match",vlookup2),Vlookup1)

where

VLOOKUP1 and VLOOKUP2 are the VLOOKUP formulae for your two tabs.

HTH

"Scottinphx" wrote:

I need a formula that based on a cell completes a Vlookup in one worksheet
tab, and if it can not find a value it completes a Vlookup in a different
worksheet tab.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default need help with V lookups

Could do with some more detail, but basically you want something like:

=IF(ISNA(VLOOKUP(to_first_sheet)),IF(ISNA(VLOOKUP( to_second_sheet),"Not
Present",VLOOKUP(to_second_sheet)),VLOOKUP(to_firs t_sheet))

VLOOKUP itself takes four parameters, so it might look like this:

VLOOKUP(A2,Sheet1!A1:B50,2,0) for the first sheet, and

VLOOKUP(A2,Sheet2!A1:B100,2,0) for the second sheet.

Obviously, only you can supply the details ...

Hope this helps.

Pete

Scottinphx wrote:
I need a formula that based on a cell completes a Vlookup in one worksheet
tab, and if it can not find a value it completes a Vlookup in a different
worksheet tab.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default need help with V lookups


Scottinphx wrote:
I need a formula that based on a cell completes a Vlookup in one worksheet
tab, and if it can not find a value it completes a Vlookup in a different
worksheet tab.


Try using something like this:
=IF(ISERROR(VLOOKUP(A!,List,2)),VLOOKUP(A1,List,2) ,VLOOKUP(A1,OtherList,2))

If the first lookup finds no match it returns an error. This results
in a true return to the IsError function which tells the IF Function to
refer to the VLookup using OtherList. You should be able to change the
array names to the ones you are currently using and have it work as you
requested.

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
Problem understanding dependant lookups [email protected] Excel Worksheet Functions 9 June 19th 06 12:12 PM
Max and lookups ajayb Excel Worksheet Functions 2 June 13th 06 12:08 PM
CAN DATES BE USED IN LOOKUPS? Riasworld Excel Discussion (Misc queries) 1 February 21st 06 01:12 PM
Maybe I need help with Lookups?? garry05 Excel Worksheet Functions 4 December 8th 05 02:26 AM
LOOKUPS - Creating LOOKUPs where two different values must BOTH be satisfied. Mr Wiffy Excel Worksheet Functions 2 May 16th 05 04:29 AM


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

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"