vlookup

nnadimi19

Board Regular
Joined
Jul 14, 2002
Messages
240
Good morning folks;
I have a vlookup question. Is there a way to vlookup using two criteria instead of one. Example: I have a sheet #1 that has claim number and exposure type, and sheet # 2that has claim number exposure type and a description. I want to vlookup the second sheet using the claim number and the exposure type from sheet #1 and when there is a match to add the description from sheet#2 to sheet #1.


Sheet #1

Claim # Exposure
11111 222
22222 333
66666 666
00000 000

Sheet # 2
Claim # Exposure Description
00000 000 aaaaaaaa
00000 111 bbbbbbbb
11111 222 ccccc
22222 333 ddd
66666 666 eeee
66666 555 fffff

final result of sheet# 1
Claim# Exposure Description
11111 222 ccccc
22222 333 ddd
66666 666 eee
00000 000 aaa

Thanks in advance
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
best way around this is to create a unique identifier in sheet2

so have in a1 sheet1

=b1 & c1 (where b WAS a and c WAS b prior to inserting column a)

highlight A:D and name DATA

then in c1 on sheet2

=vlookup(a1 & b1, DATA,4,false)
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,369
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top