Need data transferred between worksheets

Fwood

New Member
Joined
Jan 24, 2018
Messages
2
Hello-

Excel novice here. Given 2 sets of data in worksheet A (a diagnosis column and a diagnosis code column) given just the diagnosis column in worksheet B is there a formula to get the diagnosis code column to populate in worksheet B?

Thanks in advance.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Assuming you have headers in row 1 of both sheets, place this formula in cell B2 of sheet B and copy it down: =VLOOKUP(A2,A!A2:B8,2,0)
Change the range to suit your needs.
 
Last edited:
Upvote 0
Thank you for the response. The formula may need to be tweaked based on information I forgot to include in my initial post. The code that is needed to be captured is in column B of sheet 1. The blank column it needs to populate in is column F of sheet 2. The diagnosis column of sheet 1 is column C of sheet 1 and is column B of sheet 2. Given that how should the lookup be written? Thanks again for your help.
 
Upvote 0
Place this formula in F2 of Sheet2 and copy down: =INDEX(Sheet1!B2:B7,MATCH(B2,Sheet1!C2:C7))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,427
Messages
6,124,830
Members
449,190
Latest member
rscraig11

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