Autofilling names in a separate sheet based on non constant values in a separate column

illinimarine7

New Member
Joined
Oct 31, 2013
Messages
2
Ok, this may sound a little confusing because I suck at explaining things, but here is what I'm trying to do:

I have 3 sheets, one is a schedule of employees working for the day, the second is a sheet with timeframes that vehicles become available. When I fill values into these columns, it auto populates the schedule with vehicle numbers next to their name.

Ok, here is the tricky part, on the third sheet I have a list of vehicles with the vehicle number. What I need to do, is match the vehicle number to the name of the employee. Say employee John Doe starts at 1400. He has vehicle 14 autopopulated in his vehicle cell on the schedule. Now I need his name to automatically fill the vehicle 14 cell on the third page vehicle list.

Thanks, if you need any clarification I will do my best to clear it up. I know that can probably sound very confusing.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Would something like this work?


Excel 2010
AB
1EmployeeVehicle (auto-populated)
2JoeVehicle 4
3DavidVehicle 23
4KyleVehicle 17
5LucyVehicle 20
6John DoeVehicle 14
7HarryVehicle 22
8JimVehicle 10
Employees



Excel 2010
AB
1Vehicle InventoryEmployee Assignment
2Vehicle 1 
3Vehicle 2
4Vehicle 3
5Vehicle 4Joe
6Vehicle 5
7Vehicle 6
8Vehicle 7
9Vehicle 8
10Vehicle 9
11Vehicle 10Jim
12Vehicle 11
13Vehicle 12
14Vehicle 13
15Vehicle 14John Doe
16Vehicle 15
17Vehicle 16
18Vehicle 17Kyle
19Vehicle 18
20Vehicle 19
21Vehicle 20Lucy
22Vehicle 21
23Vehicle 22Harry
24Vehicle 23David
Vehicle Number
Cell Formulas
RangeFormula
B2=IFERROR(INDEX(Employees!$A$2:$A$8,MATCH(A2,Employees!$B$2:$B$8,0)),"")
 
Upvote 0

Forum statistics

Threads
1,223,892
Messages
6,175,236
Members
452,621
Latest member
Laura_PinksBTHFT

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