Help with how to get the data please

Surreyview

New Member
Joined
May 23, 2019
Messages
15
Good Morning,

I have two spreadsheets:
1. Is a master file of 10,000 cutomers that contains all information such as name, ID, address, payment schedule, price charged, item brought
2. Is a file that has some information in, but has lots of missing data.

I want to use file 1 to populate file 2, specifically I want to
1. look up the patient ID file 2 and locate it in file 2
2. filter by a specific item purchased within file 2
3. and insert the price charged from file 1.

How do I do this? Is it possible?
thank you
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
In that case something like this should work.

Assumptions -
On your Patient Data sheet, the Patient ID is held in column B, with value 99999 appearing in cell B2.
On your Master Data sheet, the Patient ID is held in column A, with value 99999 appearing in cell A2.

Put this somewhere on your patient data sheet, perhaps in column F, or a new column that you insert to the right of col F if you want to retain those values just to be safe.
Code:
=VLOOKUP(B2,'Masterr Data'!A$2:E$5,5,FALSE)
and copy down as far as required.
 
Upvote 0

Forum statistics

Threads
1,223,712
Messages
6,174,031
Members
452,542
Latest member
Bricklin

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