A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Question regarding VLookup and if it can check two columns of data



 
 
Thread Tools Display Modes
  #1  
Old September 23rd, 2008, 04:12 PM posted to microsoft.public.excel.worksheet.functions
smoke
external usenet poster
 
Posts: 3
Default Question regarding VLookup and if it can check two columns of data

Hi,

My experience with any excel formulas is very limited and I was just
wondering if someone could provide me with a formula / and or help with my
current problem.

I have two sheets in the same workbook and would like to return data from
column 3 in sheet 1 to column 3 in sheet 2. However, i don't know if Vlookup
can check two columns of data (text) in sheet 1 with two columns in sheet 2.

Example below: (Imagine | as the divider between columns)

Sheet 1:
A | B | C
Make 1 | Model1 | 2000
Make 2 | Model1 | 1000 / 1002
Make 3 | Model3 | 1003

Sheet2:
A | B | C
Make 7 | Model5 | N/A
Make 1 | Model1 | 2000
Make 3 | Model3 | 1003

So as you can see above, I'd like it to check Make AND Model in sheet two
with sheet one and return the value in column C in sheet 1 to column C in
sheet 2.

Any help with this would be great.

Thanks in advance.
  #2  
Old September 23rd, 2008, 04:29 PM posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom[_2_]
external usenet poster
 
Posts: 963
Default Question regarding VLookup and if it can check two columns of data

=INDEX(C2:C500,MATCH(1,(A2:A500="Make 1")*(B2:B500="Model1"),0))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"Smoke" wrote in message
...
Hi,

My experience with any excel formulas is very limited and I was just
wondering if someone could provide me with a formula / and or help with my
current problem.

I have two sheets in the same workbook and would like to return data from
column 3 in sheet 1 to column 3 in sheet 2. However, i don't know if
Vlookup
can check two columns of data (text) in sheet 1 with two columns in sheet
2.

Example below: (Imagine | as the divider between columns)

Sheet 1:
A | B | C
Make 1 | Model1 | 2000
Make 2 | Model1 | 1000 / 1002
Make 3 | Model3 | 1003

Sheet2:
A | B | C
Make 7 | Model5 | N/A
Make 1 | Model1 | 2000
Make 3 | Model3 | 1003

So as you can see above, I'd like it to check Make AND Model in sheet two
with sheet one and return the value in column C in sheet 1 to column C in
sheet 2.

Any help with this would be great.

Thanks in advance.



  #3  
Old September 23rd, 2008, 09:10 PM posted to microsoft.public.excel.worksheet.functions
smoke
external usenet poster
 
Posts: 3
Default Question regarding VLookup and if it can check two columns of

Hi - and thanks for the quick reply.

I've encountered a slight problem with that as it returns a 0 value - not
sure why it's doing that. There's over 18000 different entries also, so doing
that would result in me doing it 18000 times entering the Make1/Model1 each
time. Can I make it refer to what's actually in sheet2 in column A and B
rather than entering the values?

Thanks again.


"Peo Sjoblom" wrote:

=INDEX(C2:C500,MATCH(1,(A2:A500="Make 1")*(B2:B500="Model1"),0))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"Smoke" wrote in message
...
Hi,

My experience with any excel formulas is very limited and I was just
wondering if someone could provide me with a formula / and or help with my
current problem.

I have two sheets in the same workbook and would like to return data from
column 3 in sheet 1 to column 3 in sheet 2. However, i don't know if
Vlookup
can check two columns of data (text) in sheet 1 with two columns in sheet
2.

Example below: (Imagine | as the divider between columns)

Sheet 1:
A | B | C
Make 1 | Model1 | 2000
Make 2 | Model1 | 1000 / 1002
Make 3 | Model3 | 1003

Sheet2:
A | B | C
Make 7 | Model5 | N/A
Make 1 | Model1 | 2000
Make 3 | Model3 | 1003

So as you can see above, I'd like it to check Make AND Model in sheet two
with sheet one and return the value in column C in sheet 1 to column C in
sheet 2.

Any help with this would be great.

Thanks in advance.




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.