Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Vlookup with Multiple Columns to Match

I need to do a Vlookup that matches two columns on each worksheet instead of
just one. I have a Division Number column (B) and a Customer Number column
(C) in Sheet 1 and Division Number column (A) and a Customer Number column
(B) in Sheet 2 (GM Data). I need for both of these to match on each sheet
and then pull the matching data. I cannot just pull from the Customer
Number, because there might be the same customer number in different
divisions. The formula I have right now is =VLOOKUP(C8,'GM
Data'!B8:C270,2,FALSE) and I am getting a #VALUE! back. Is there a way to do
this?

Thank you!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 793
Default Vlookup with Multiple Columns to Match

To do lookup on values in two columns I insert a dummy column C (assuming I
want to combine columns A & B, and the value to be found based on value in C
is in D) then use the following;

VLOOKUP(H1&K1,C:D,2,false)

"pt_lily" wrote:

I need to do a Vlookup that matches two columns on each worksheet instead of
just one. I have a Division Number column (B) and a Customer Number column
(C) in Sheet 1 and Division Number column (A) and a Customer Number column
(B) in Sheet 2 (GM Data). I need for both of these to match on each sheet
and then pull the matching data. I cannot just pull from the Customer
Number, because there might be the same customer number in different
divisions. The formula I have right now is =VLOOKUP(C8,'GM
Data'!B8:C270,2,FALSE) and I am getting a #VALUE! back. Is there a way to do
this?

Thank you!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Vlookup with Multiple Columns to Match

I'm not sure why you are getting #VALUE from your VLOOKUP - you would
normally expect this error when you try to do some arithmetic with
text values, unless you have that error within your data table.

Pete

On Aug 25, 5:32*pm, pt_lily wrote:
I need to do a Vlookup that matches two columns on each worksheet instead of
just one. *I have a Division Number column (B) and a Customer Number column
(C) in Sheet 1 and Division Number column (A) and a Customer Number column
(B) in Sheet 2 (GM Data). *I need for both of these to match on each sheet
and then pull the matching data. *I cannot just pull from the Customer
Number, because there might be the same customer number in different
divisions. *The formula I have right now is =VLOOKUP(C8,'GM
Data'!B8:C270,2,FALSE) and I am getting a #VALUE! back. *Is there a way to do
this?

Thank you!


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
Match Multiple Columns phuser[_2_] Excel Worksheet Functions 12 May 1st 08 08:37 PM
Vlookup? populate 3 columns of data when match a common value, UMPhy Tom Excel Worksheet Functions 1 March 13th 08 07:26 PM
Vlookup based on valid match of mutiple columns stickandrock Excel Worksheet Functions 8 March 16th 07 03:48 PM
Multiple If/Vlookup/Match Deeds Excel Worksheet Functions 3 November 30th 06 03:23 PM
Vlookup/match/offset over multiple columns of lable csw78 Excel Discussion (Misc queries) 6 June 8th 05 04:39 PM


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