Require data from multiple columns using 2 spreadsheets

cjg1901

New Member
Joined
Feb 25, 2011
Messages
9
Hi all

I need your help!

I have 2 spreadsheets in the same file and need to take some data from Sheet 1 into sheet 2 based on 2 columns of critieria:

Sheet 1 contains:
Employee Date Location
Smith John 21/02/2011 London
Doe, John 03/01/2011 Birmingham
Bloggs, Joe 01/02/2011 Manchester


Sheet 2 contains:
Employee Date Location
Smith John 21/02/2011
Bloggs, Joe 01/02/2011

I need to get the data from Sheet 1's Location column into Sheet 2. Looks simple but I can't do it!

Please help asap?

Many thanks
cjg1901
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Try:

=INDEX(Sheet1!C$2:C$4,MATCH(1,INDEX((Sheet1!A$2:A$4=A2)*(Sheet1!B$2:B$4=B2),),FALSE))
 

cjg1901

New Member
Joined
Feb 25, 2011
Messages
9
Hey - it worked in the end, thanks!

Your help was much appreciated :)

Kind regards
cjg1901
 

Forum statistics

Threads
1,171,072
Messages
5,873,638
Members
432,990
Latest member
Nuppu

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
Top