Hiding Used Items in Drop Down List (multiple columns)

alm395

New Member
Joined
Apr 23, 2018
Messages
39
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet I am working on. I was able to hide used items in the drop down list in column D, but I can't figure out how to carry it over to column H.

What would be optimal is:
1) to have the same exact formula/drop down list that is in D:D to be in H21:H23,
2) then to have any remaining member numbers automatically populate in H4:H19.

If option 2 is not recommended or whatever, then to have option 1 in H4:H19 and in H21:H23.

[TABLE="class: grid, width: 800"]
<tbody>[TR]
[TD]A1[/TD]
[TD]B1[/TD]
[TD]C1[/TD]
[TD]D1[/TD]
[TD]E1[/TD]
[TD]F1[/TD]
[TD]G1[/TD]
[TD]H1[/TD]
[/TR]
[TR]
[TD]A2[/TD]
[TD]SHIFT[/TD]
[TD]ORDER[/TD]
[TD]MEMBER #[/TD]
[TD]MISC[/TD]
[TD]VAC[/TD]
[TD]TRAIN[/TD]
[TD]WEDNESDAY[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]D10[/TD]
[TD]1[/TD]
[TD]152[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]DAY OFF[/TD]
[/TR]
[TR]
[TD]A4[/TD]
[TD]D10[/TD]
[TD]2[/TD]
[TD]160[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A5[/TD]
[TD]D10[/TD]
[TD]3[/TD]
[TD]165[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A6[/TD]
[TD]D10[/TD]
[TD]4[/TD]
[TD]168[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A7[/TD]
[TD]R2[/TD]
[TD]5[/TD]
[TD]170[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/T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
[TD]A20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]LOA[/TD]
[/TR]
[TR]
[TD]A21[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A22[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A23[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A24[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A25[/TD]
[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]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

The member list is on a separate tab called "Data List".

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]MEMBER #[/TD]
[TD]INDEX[/TD]
[TD]UNUSED[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD][/TD]
[TD]131R[/TD]
[/TR]
[TR]
[TD]160[/TD]
[TD][/TD]
[TD]150MH[/TD]
[/TR]
[TR]
[TD]165[/TD]
[TD][/TD]
[TD]159R[/TD]
[/TR]
[TR]
[TD]168[/TD]
[TD][/TD]
[TD]174MH[/TD]
[/TR]
[TR]
[TD]170[/TD]
[TD][/TD]
[TD]176R[/TD]
[/TR]
[TR]
[TD]171[/TD]
[TD][/TD]
[TD]177R[/TD]
[/TR]
[TR]
[TD]173[/TD]
[TD][/TD]
[TD]181MH[/TD]
[/TR]
[TR]
[TD]178[/TD]
[TD][/TD]
[TD]183MH[/TD]
[/TR]
[TR]
[TD]179[/TD]
[TD][/TD]
[TD]188MH[/TD]
[/TR]
[TR]
[TD]185[/TD]
[TD][/TD]
[TD]189R[/TD]
[/TR]
[TR]
[TD]186[/TD]
[TD][/TD]
[TD]192MH[/TD]
[/TR]
[TR]
[TD]187[/TD]
[TD][/TD]
[TD]198R[/TD]
[/TR]
[TR]
[TD]193[/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]131R[/TD]
[TD]15[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]150MH[/TD]
[TD]16[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]159R[/TD]
[TD]17[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]174MH[/TD]
[TD]18[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]176R[/TD]
[TD]19[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]177R[/TD]
[TD]20[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]181MH[/TD]
[TD]21[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]183MH[/TD]
[TD]22[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]188MH[/TD]
[TD]23[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]189R[/TD]
[TD]24[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]192MH[/TD]
[TD]25[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]198R[/TD]
[TD]26[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]27[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]28[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]29[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]30[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]

My formula in the "Index" column (B) is
=IF(COUNTIF(Lineup!$D:$D,'Data List'!A2),"",ROW())

My formula in the "Unused" column (C) is
=IF(ROW(A2)-ROW(A$2)+1>COUNT(B$2:B$51),"",INDEX(A:A,SMALL(B$2:B$52,1+ROW(A2)-ROW(A$2))))

Any help is appreciated.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,223,888
Messages
6,175,203
Members
452,617
Latest member
Narendra Babu D

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