Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
FC FC is offline
external usenet poster
 
Posts: 130
Default VLOOKUP for 2 columns or more

I have this formula in SHEET 1 pasted all the way down in B ( 65536 cells ):
=VLOOKUP(A1,SHEET2!$A:$B,2,FALSE)
When I write in A ( any cell, SHEET 1) the formula look and fill up B column
accordinly to the data in SHEET 2 ( A and B columns ). Now as I ran out of
cells I'd like to ADD to this formula another look up for C and D , and
possible for E and F in SHEET 2 that will look up there and give the outcome
in the same A and B rows of SHEET 1.
I tried this one without results :
=VLOOKUP(A1,SHEET2!$A:$B,2,FALSE)+vlookup(a1,sheet 2!$c:$d,2,false)
Please change what I wrote in lower case(above) to replace it for a working
formula for this situation. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 594
Default VLOOKUP for 2 columns or more

Maybe something like this........

=IF(ISNA(VLOOKUP1),VLOOKUP2,VLOOKUP1)

Vaya con Dios,
Chuck, CABGx3


"FC" wrote in message
...
I have this formula in SHEET 1 pasted all the way down in B ( 65536

cells ):
=VLOOKUP(A1,SHEET2!$A:$B,2,FALSE)
When I write in A ( any cell, SHEET 1) the formula look and fill up B

column
accordinly to the data in SHEET 2 ( A and B columns ). Now as I ran out of
cells I'd like to ADD to this formula another look up for C and D , and
possible for E and F in SHEET 2 that will look up there and give the

outcome
in the same A and B rows of SHEET 1.
I tried this one without results :
=VLOOKUP(A1,SHEET2!$A:$B,2,FALSE)+vlookup(a1,sheet 2!$c:$d,2,false)
Please change what I wrote in lower case(above) to replace it for a

working
formula for this situation. Thanks.



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
VLookup in to columns Frederik Excel Worksheet Functions 2 October 26th 06 08:48 PM
Vlookup from 2 columns cursednomore Excel Worksheet Functions 2 July 7th 06 05:57 PM
VLookup against one of two columns Mark Excel Worksheet Functions 2 March 13th 06 04:38 PM
Vlookup using two columns Daniel Bonallack Excel Worksheet Functions 3 December 9th 05 07:02 PM
Vlookup with 2 columns Gary H Excel Discussion (Misc queries) 1 May 26th 05 05:09 PM


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