Index match or V look (or something else?)

Jitka

New Member
Joined
Jul 31, 2018
Messages
24
Hi

I have not used either of the formulas before but would like to learn the basics.

in my 2 worksheets, I have information about the same staff but each worksheet refers to different budget. I started entering on worksheet 1 if the staff is current or ex (column exited - if staff left there is date, if not it's blank), on worksheet 2 I have the same names of staff but where the staff used more than 1 budgets, I also created column called exited. I'd like to duplicate what is in the same column on worksheet 1 for each of the staff.
What function would I use and how please?
Worksheet 1 (values in cell B2:B8 were populated manually)
ABC
1NameExitedBudget
2PoppinsMarch 18clothing
3Jelly clothing
4Jelly clothing
5Jellyclothing
6MaryJune 18clothing
7MaryJune 18shoes
8MaryJune 18shoes

<tbody>
</tbody>

Worksheet 2 - the number times each staff will feature across the 2 worksheets will wary, also some staff will only be on 1 worksheet and not the other.
My desired outcome is to pull values from worksheet 1, column B, and duplicate them in worksheet 2, column B. I don't mind if they are on every row that belongs to that staff as long as it's there.
Desired outcome is shown in cell B2
AB C
1NameExitedLocation
2PoppinsMarch 18USA
3Jelly Sweden
4Jelly Sweden
5MarySpain
6MarySpain

<tbody>
</tbody>

Thank you very much, this seems like a headache to me but probably a very easy for you guys on here.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Book1
ABC
1NameExitedLocation
2Poppins18-MarUSA
3JellySweden
4JellySweden
5Mary18-JunSpain
6Mary18-JunSpain
Sheet2
Cell Formulas
RangeFormula
B2=IF(INDEX(Sheet1!$B$2:$B$8,MATCH(A2,Sheet1!$A$2:$A$8,0))=0,"",INDEX(Sheet1!$B$2:$B$8,MATCH(A2,Sheet1!$A$2:$A$8,0)))


Copy down
 
Upvote 0
Hi Scott,

Thanks very much for this, I'll study the formula so I can try and understand. Really appreciate your time. Apologies for the late response.
Kind Regards
Jitka
 
Upvote 0

Forum statistics

Threads
1,214,950
Messages
6,122,436
Members
449,083
Latest member
Ava19

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