I think I need a V Lookup?????

crazybuckeyeguy

New Member
Joined
Apr 15, 2017
Messages
49
I could use some help with a V Lookup. The first sheet is a list of names in column 1 in columns 2-5 those are weeks in the year based on the second sheet. Said person can select any of the 52 weeks and up to 4 different weeks. I am working a vacation bid where people select which week they want off for the following year. This would be the case for about 400 people. on the second sheet is a master that would have the weeks in columns and I need to transfer the names to said week but only take 1 spot per week. Each week is only allowed so many names tho. I would need an error returned that the week is full and no more spots are available. I am struggling with the Vlookup and not filling every cell with 1 persons name for the week they choose. PLEASE HELP as I am in dire need. If this doesn't make sense please let me know and I will try to explain more.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Week1[/TD]
[TD]Week2[/TD]
[TD]Week3[/TD]
[TD]Week4[/TD]
[/TR]
[TR]
[TD]Name1
[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]7[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Name 2[/TD]
[TD]3[/TD]
[TD]6[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Name 4[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]6[/TD]
[TD]7[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 500"]
<tbody>[TR]
[TD]Week 1[/TD]
[TD]Week 2[/TD]
[TD]Week 3[/TD]
[TD]Week 4[/TD]
[TD]Week 5[/TD]
[TD]Week6[/TD]
[TD]Week 7[/TD]
[/TR]
[TR]
[TD]Name1[/TD]
[TD]Name 1[/TD]
[TD]Name2[/TD]
[TD]Name3
[/TD]
[TD][/TD]
[TD]Name2[/TD]
[TD]Name1[/TD]
[/TR]
[TR]
[TD]Name3[/TD]
[TD]Name3[/TD]
[TD]Name3[/TD]
[TD]Name4[/TD]
[TD][/TD]
[TD]Name4[/TD]
[TD]Name4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Name4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
See if this does what you want.
You will Excel 2010 or later to use the AGGREGATE function. If you have an earlier ver. of Excel let me know and we can use a different formula.
Change ranges to match your data and copy across and down as needed.
Excel Workbook
ABCDEFG
1NameWeek1Week2Week3Week4
2Name11270
3Name 23600
4Name 31234
5Name 42467
6
7
8Week 1Week 2Week 3Week 4Week 5Week 6Week 7
91234567
10Name1Name1Name 2Name 3Name 2Name1
11Name 3Name 3Name 3Name 4Name 4Name 4
12Name 4
Sheet
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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