Removing Data Validation List Items Once Selected In Another Cell

wryan_garner4

New Member
Joined
Jan 14, 2016
Messages
13
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
  2. Web
First, I do have this working, but it seems I am using either too many formulas or the wrong ones, and creating a big delay in my workbook operation.
I have information on three sheets. The first sheet is bulk information in a table. The second sheet is where a lot of my formulas are buried, and mostly placeholders. This sheet will then be hidden once the workbook is functioning correctly. The third sheet is to be used and changed on a regular basis. I have multiple sections with dependent data validation. I want the data validation lists to automatically update and remove an item from the list, if that item is selected in a different cell. What I am finding is that every time I make a change, the entire workbook freezes for a second or two.
Currently on Sheet 2, cell A1002, I have a FILTER formula to pull all items from the bulk information sheet, dependent on what is in cell A1001. That works fine. In cells FZ1002:FZ2002, I have a formula that looks to see if the information in A1002:A2002 is used or not. If it is used, the cell remains blanks. If not used, it shows the row. In MY1001:MY2002, it returns all unused values from A1002:A2002. As I want to use this information in a data validation list without all of the extra blanks, I then have another column TX1002 to FILTER out all of the blanks.
Because of all of these formulas, it is significantly slowing down my workbook.
I want dependent data validation lists, but all used items removed from the list.
How can I remove some of these formulas to speed up my workbook.

Formulas
A1002 =IF(A1001="","",FILTER(IF(CampingGear[Model]="Unknown",CampingGear[Make],CampingGear[Make]&" "& CampingGear[Model]),CampingGear[Description]=A1001,""))
FZ1002 =IF(A1002="","",IF(COUNTIF('Pack Contents'!$D$7:$D$16,A1002),"",ROW()))
MY1002 =LET(FindZero,IF(ROW()-ROW(A$1002)+1>COUNT(FZ$1002:FZ$2002),"",INDEX(A:A,SMALL(FZ$1002:FZ$2002,ROW()-ROW(A$1002)+1))),IF(FindZero=0,"",FindZero))
TX1002 =IF(TX1001="","",IFERROR(FILTER(MY1002:MY2002,MY1002:MY2002<>""),"Item already added. Adjust quantity."))


Camping Gear.xlsx
ABCDEFGHIJ
1Item #MakeModelDescriptionTypeQuantityWeight (oz)Total Weight (oz)Categories
21MSRHubba HubbaTentShelter168.6068.60Pack & Accessories
32MECAquila-7CSleeping BagSleeping154.9054.90Shelter
43SOGShovelShovelTools125.8025.80Sleeping
54ThermarestProLite RegularSleeping PadSleeping123.0023.00Hydration
65MSRMiniWorks EX MicrofilterWater FilterHydration117.0017.00Cooking & Eating
76MSRWhisperLite UniversalStoveCooking & Eating116.1016.10Toiletries
87SOGMacheteMacheteTools115.7015.70Navigation
98SOGHatchetHatchetTools115.2015.20Clothing
109SabreWild MaxBear Attack DeterrentSafety111.0011.00Lighting
1110UnknownUnknownTent PegsShelter110.8010.80Fire
1211Jet BoilJet PowerIsobutane 8.11ozCooking & Eating213.4026.80Tools
1312Adventure Medical.9Medical KitFirst Aid16.206.20Safety
1413Camelback50ozWater BladderHydration15.805.80First Aid
1514Coghlan'sEgg CarrierEgg CarrierCooking & Eating14.504.50Miscellaneous
1615MECDeluxe PillowPillowSleeping14.304.30Optics
1716RapalaFillet KnifeFilet KnifeTools14.304.30Test1
1817GorillaGorilla Tape1" x 30' TapeMiscellaneous14.104.10Test2
1918CH HansonFlagging TapeFlagging TapeMiscellaneous14.104.10Test3
2019NRS35L Mighty LightDry BagMiscellaneous13.903.90
2120HavalonPirantaPocket KnifeTools13.503.50 
2221X-Lite8862Utility LighterTools13.003.00
2322EdgewellWet OnesHand and Face WipesToiletries22.805.60
2423VortexLens Cleaning KitLens Cleaning KitMiscellaneous12.802.80
2524John DeereToqueToqueClothing12.602.60
2625UnknownUnknownRain PonchoClothing12.502.50
2726PurellHand SanitizerHand SanitizerToiletries12.402.40
2827UnknownUnknownCompression BagMiscellaneous12.202.20
2928Colgate31345Tooth BrushToiletries11.901.90
3029GrabberHand WarmersHand WarmersMiscellaneous21.703.40
3130Coghlan'sUnknownTent Repair KitMiscellaneous11.701.70
3231Old SpiceSwaggerDeodorantToiletries11.701.70
3332UnknownUnknownDish DetergentCooking & Eating11.601.60
3433GarnierFructisShampooToiletries11.601.60
3534Old SpiceSwaggerBody WashToiletries11.501.50
3635UnknownUnknownParacord (3ft.)Miscellaneous11.401.40
3736Silva426CompassNavigation11.301.30
3837Coghlan'sBlue BellsBellSafety21.202.40
3938Ozark TrailMini 20 lumensHeadlampLighting11.001.00
4039Coghlan'sTissue On The GoToilet PaperToiletries10.900.90
4140UnknownUnknownDish ClothCooking & Eating20.901.80
4241MastercraftClampClampMiscellaneous10.800.80
4342After BiteThe Itch EraserAfter BiteFirst Aid10.800.80
4443UnknownUnknownFloating Tea LightMiscellaneous50.603.00
4544SOLFire LiteFire StarterMiscellaneous230.5412.42
4645TylenolExtra StrengthAcetaminophenFirst Aid10.500.50
4746MSRTent Pole SpliceTent Pole SpliceMiscellaneous10.500.50
4847UnknownUnknownCarabinerMiscellaneous20.400.80
4948BlistexRegularLip BalmToiletries10.300.30
5049GSIForkForkCooking & Eating20.400.80
5150GSI KnifeKnifeCooking & Eating20.400.80
5251GSISpoonSpoonCooking & Eating20.400.80
5352SOGHunting KnifeKnifeTools17.407.40
5453TruFlareO2CPen FlareSafety11.401.40
5554TruFlare15mm Exploding CartridgeBear Banger CartridgeSafety20.400.80
5655TruFlare15mm Signal FlareSignal FlareSafety30.300.90
5756UcoStorm MatchesStormproof MatchesFire11.701.70
5857MSRTrail Lite2.0L Aluminum PotCooking & Eating18.708.70
5958MSRTrail Lite0.7L Plastic BowlCooking & Eating22.204.40
6059OutboundStainless Steel MugMug 532mlCooking & Eating15.605.60
6160MeadMemoNotepadMiscellaneous21.603.20
6261UnknownUnknownStormproof MatchesFire10.900.90
6362Nalgene30ml Container30ml Storage ContainerMiscellaneous01.200.00
6463MSRTrail LiteInsulated MugCooking & Eating24.408.80
6564GerberVital Pack SawBone SawTools12.702.70
6665Hot ShotThinsulate 40 Gram GlovesGlovesClothing12.002.00
6766VortexBinocular HarnessBinocular HarnessOptics13.503.50
6867VortexGlasspakBinocular CarrierOptics17.907.90
6968VortexDiamondback 10x50BinocularsOptics12.002.00
7069CuisinartFry PanFry Pan 5.5"Cooking & Eating15.505.50
7170Master ChefMixing SpoonMixing SpoonCooking & Eating12.902.90
7271Jet BoilCollapsible ForkForkCooking & Eating10.500.50
7372Jet BoilCollapsible SpoonSpoonCooking & Eating10.500.50
7473StarfritCan OpenerCan OpenerCooking & Eating14.104.10
7574Garmin64sGPSNavigation18.108.10
76 
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97
98
99
100
Bulk Gear List
Cell Formulas
RangeFormula
J21J21=FILTER(CampingGear[Description],CampingGear[Type]=G5,"")
A2:A75A2=IF(B2<>"",IF(A1="",1,ROW()-1),"")
H2:H96H2=IF(G2="","",IF(F2="","",F2*G2))
Named Ranges
NameRefers ToCells
'Bulk Gear List'!_FilterDatabase='Bulk Gear List'!$A$1:$H$100A2
Description=CampingGear[Description]J21
Type=CampingGear[Type]J21
Cells with Data Validation
CellAllowCriteria
E2:E100List=Categories1



Camping Gear.xlsx
A
10001
1001Backpack
1002 
1003
1004
1005
1006
Sheet1
Cell Formulas
RangeFormula
A1001A1001=IF(INDIRECT("'Pack Contents'!C"&(A1000+6))="","",INDIRECT("'Pack Contents'!C"&A1000+6))
A1002A1002=IF(A1001="","",FILTER(IF(CampingGear[Model]="Unknown",CampingGear[Make],CampingGear[Make]&" "& CampingGear[Model]),CampingGear[Description]=A1001,""))
Named Ranges
NameRefers ToCells
Description=CampingGear[Description]A1002



Camping Gear.xlsx
FZ
10001
1001Backpack
1002 
1003 
1004 
1005 
1006 
1007 
1008 
Sheet1
Cell Formulas
RangeFormula
FZ1001FZ1001=A1001
FZ1002:FZ1008FZ1002=IF(A1002="","",IF(COUNTIF('Pack Contents'!$D$7:$D$16,A1002),"",ROW()))



Camping Gear.xlsx
MY
10001
1001Backpack
1002 
1003 
1004 
1005 
1006 
1007 
1008 
1009 
Sheet1
Cell Formulas
RangeFormula
MY1001MY1001=A1001
MY1002:MY1009MY1002=LET(FindZero,IF(ROW()-ROW(A$1002)+1>COUNT(FZ$1002:FZ$2002),"",INDEX(A:A,SMALL(FZ$1002:FZ$2002,ROW()-ROW(A$1002)+1))),IF(FindZero=0,"",FindZero))


Camping Gear.xlsx
TX
10001
1001Backpack
1002Item already added. Adjust quantity.
1003
1004
1005
1006
1007
1008
Sheet1
Cell Formulas
RangeFormula
TX1001TX1001=A1001
TX1002TX1002=IF(TX1001="","",IFERROR(FILTER(MY1002:MY2002,MY1002:MY2002<>""),"Item already added. Adjust quantity."))
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi,

If you need to hide Used Items from your Data Validation, see this method from Contextures

 
Upvote 0
Solution
Hi,

If you need to hide Used Items from your Data Validation, see this method from Contextures

Thanks James006! This cleared up a lot of formulas for me and made the workbook a lot faster. Greatly appreciated.
 
Upvote 0
Very glad to hear you have managed to fix your problem (y)
:)
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,175
Members
452,615
Latest member
bogeys2birdies

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