Limiting filter criteria depending on cell value

Beepee

New Member
Joined
Apr 11, 2022
Messages
6
Office Version
  1. 2019
Platform
  1. Windows
Hi All. I'm using Office 2019 Excel on Windows 11.
My worksheet relates to a gardening ‘almanac’. It lists:
  1. Every commodity I might want to sow (flowers, herbs veg, etc)
  2. All tasks related to that commodity and an action date
  3. Usually in chronological order (But as an Excel Table so…)
The dataset is currently almost 700 lines.
I would like to set up a filtering option as shown (B2:H3) on the sample dataset, such that when a particular fltCommodity is selected then only the related Varieties show in the fltVariety drop-down.
EG: fltCommodity – Lettuce should limit fltVarieties to Arctic King/Lobjoits Green/Winter Density/Winter Marvel and so on.

On-Line I found, as an example of data-validation-based-on-another-cell:

This example uses three Tables to select Ice-cream or Juice flavours. Would I have to set up an individual Table for each Commodity and list the relevant varieties or is there a way to glean the varieties from the main un-filtered table? I am NOT expecting anyone to do this for me – just point me in the right direction please.

Sorry -- tried to attach an image but received message saying Too Large!!??
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Beepee again attaching an XL2BB file (I hope!).
FilterTrial.xlsm
BCDEFGH
2Filtering Criteria Selection
3FVHComodityVarietyKeyActivityDue DateAction Date
4
5The above two rows to be used as Criteria range for an Advanced Filter
6
7---- Jobs for this set of filters ----
8FVHComodityVarietyKeyActivityDue DateAction Date
9BBlackcurrantMiscCutTake cuttings - Monty says OCT (up to end November)02/10/2017NR
10BGooseberryMiscCutTake cuttings - Monty says OCT (up to end November)02/10/2017NR
11BRed CurrantMiscFeedwith two good handfulls of blood,fish& bone02/10/2017NR
12BRed CurrantMiscCutTake cuttings - Monty says OCT (up to end November) feed BFB02/10/2017NR
13BRhubarbUnknownSowPlant new crowns up to end of February02/10/2017NR
14SSeedsMiscMiscOrder NOW from Premier Seeds 2021 no stock on Broad Beans.07/10/2017Later
15VBrassicaMiscMiscRemove butterfly net & Re-tie plants before winds pick-up15/10/201713-Oct
16FCandytuftDwarf FairylandSow1st Candytuft 2021 - Cornflower in error15/10/2017NR
17VLettuceArctic KingSowOct wk 215/10/201725-Oct
18VLettuceArctic KingT/PAug wk 415/10/2017NS
19VLettuceWinter MarvelSowOct wk 215/10/201725-Oct
20VLettuceWinter MarvelT/PAug wk 415/10/2017NS
21HRocketBuzzT/PSep Wk 315/10/2017NS
22HRosemaryMiscCutLast chance to trim before spring!15/10/2017NR
23FYellow RattleRhinanthusSowNot until November15/10/2017NR
24VBrussels SproutBrodieHarvestBegin harvest of earlies23/10/2017NA
25SFrostMiscMiscFirst frost due in Hillesley!!!!!25/10/201702-Dec
26SGreenhouseMiscMiscDisinfect greenhouse and insulate23/10/2017NR
27VLeekMiscHarvestBegin to harvest23/10/201710-Nov
28VParsnipMiscHarvestBegin harvest (best after frost)23/10/201728-Sep
29BRhubarbMiscMiscTidy up existing plants23/10/201724-Oct
30VShallotMiscMiscBuy sets from DP. (Premier 2021)23/10/2017OS
31SWash DownMiscMiscDisinfect pots etc.23/10/2017NR
32VPeaKelvedon WonderSowinto 9cm pots Kelvedon Wonder (Monty) 42 x 9cm pots31/10/201725-Oct
33VRunner BeanMiscLastCut down and clear.31/10/201717-Oct
3401/11/2017Done
35BBlackberryUnknownSowBuy and plant (up to end February)02/11/2017NR
36BBlackcurrantMiscCutTake cuttings - Monty says OCT (up to end November)02/11/2017NR
37BGooseberryMiscCutTake cuttings - Monty says OCT (up to end November)02/11/2017NR
38BRed CurrantMiscCutTake cuttings - Monty says OCT (up to end November)02/11/2017NR
39VAsparagusMiscCutCut down when foliage yellows07/11/2017NS
40VCucumberMiscLastLast Harvest07/11/201725-Oct
41VKaleVates Blue CurledT/PSep Week2 to garden Sown direct 22 Sep Need to thin!07/11/2017NS
42SLimeMiscFeedLime next season Brassica patch (after Legumes)-- raise Ph07/11/201712-Nov
43SManureMiscFeedNext seasons Brassicas patch (after Legumes removed)07/11/2017Later
44SManureMiscFeedRhubarb & raspberry, etc. plots07/11/201728-Dec
45SManureMiscFeedManure and rejuvinate LETTUCE patch07/11/2017AR
46SManureMiscFeedManure Legume patch -- (when 'Roots' cleared)07/11/2017AR
47SMole DeterentMiscMiscCheck batteries ('D' Cell)07/11/2017NR
48SSeedsMiscMiscOrder seeds (Kings/ Real Seed Co/Premier)07/11/201724-Nov
49FAconiteWinter Wolfs BaneSow5th sowing into pots --Winter15/11/2017NS
50VBroad BeanAquadulceT/P1st tubes to garden15/11/2017NS
51VBrussels SproutBrodieHarvestBegin to harvest15/11/201708-Nov
52FCowslipCommon WildSow1st - cowslip and oxlip in pots15/11/2017NS
53FCowslipGreat OxlipSow1st - cowslip and oxlip in pots15/11/2017NS
54HGarlicSolent Wight SoftneckSowPlant into sandy soil & feed nitrogen (2021 = Elphant)15/11/2017NR
55SManureMiscFeedPotato patch15/11/2017NS
56VShallotMiscFeedPrepare bed and add Growmore. No manure21/11/2017Later
57SClocheMiscMiscCover lettuce in severe weather23/11/2017AR
58VLettuceWinter DensitySowNov wk 223/11/2017NS
59FYellow RattleRhinanthusSowNow is the best time23/11/2017NS
60VBroad BeanAquadulceSow2nd onto wet tissue (50) Aqua/Sutton/Grano Violetto X 230/11/201726-Nov
61FMarigoldmiscLastClear all from garden and save any seed required30/11/201729-Nov
6201/12/2017Done
63BBlackcurrantUnknownSowBuy and plant (up to end February)02/12/2017NR
64BGooseberryUnknownSowBuy and plant (up to end February)02/12/2017NR
65BRaspberryMiscSowBuy and plant (up to end February)02/12/2017NR
66BRaspberryMiscCutPrune autumn fruiting (up to end February)02/12/2017NR
67BRaspberryUnknownCutBest time to dig suckers and t/p (any time possible)02/12/2017NR
68BRed CurrantMiscMiscBuy and plant (up to end March)02/12/2017NR
69VShallotRed SunSowPlant 3 rows of sets x 15 Cover with wire net04/12/2017Later
70VBrassicaMiscFeedFeed Nitrogen - clean up dying leaves (2021 Growmore)07/12/201708-Dec
71VLettuceWinter MarvelP/ONov wk 207/12/2017NS
72HRocketApolloSowBuzz/Apollo 15cm pot in hothouse07/12/201708-Dec
73VBroad BeanAquadulceP/O2nd sowing into t/r tubes15/12/201702-Dec
74VLettuceArctic KingP/OOct wk 215/12/2017NS
75VLettuceLobjoits GreenSowDec Wk 215/12/201708-Dec
76VLettuceArctic KingP/OSep wk 315/12/201706-Dec
77VLettuceLobjoits GreenP/OSep wk 315/12/201706-Dec
78VLettuceWinter DensityP/OSep wk 315/12/201706-Dec
79VLettuceWinter MarvelP/OSep wk 315/12/201706-Dec
80VOnionRed BrunswickSowfew in g'hse (as per JH Dec'20 NL) Red Brunswick in cells!23/12/2017NS
81VPeaMiscMiscPinch out tips (as per Fairygirl GW Forum)23/12/201706-Dec
FilteringTrial
Cell Formulas
RangeFormula
G9:G13G9=DATE(2017,10,2)
G14G14=DATE(2017,10,7)
G15:G23G15=DATE(2017,10,15)
G24,G26:G31G24=DATE(2017,10,23)
G25G25=CN_FirstFrost
G32:G33G32=DATE(2017,10,31)
G34G34=DATE(2017,11,1)
G35:G38G35=DATE(2017,11,2)
G39:G48G39=DATE(2017,11,7)
G49:G55G49=DATE(2017,11,15)
G56G56=DATE(2017,11,21)
G57:G59G57=DATE(2017,11,23)
G60:G61G60=DATE(2017,11,30)
G62G62=DATE(2017,12,1)
G63:G68G63=DATE(2017,12,2)
G69G69=DATE(2017,12,4)
G70:G72G70=DATE(2017,12,7)
G73:G79G73=DATE(2017,12,15)
G80:G81G80=DATE(2017,12,23)
Named Ranges
NameRefers ToCells
CN_FirstFrost=FilteringTrial!$L$1G25
Cells with Data Validation
CellAllowCriteria
C4List=Sheet2!$B$3:$B$38
D4List=Sheet2!$D$3:$D$23
 
Upvote 0

Forum statistics

Threads
1,215,316
Messages
6,124,228
Members
449,149
Latest member
mwdbActuary

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