Sheet with conditional dropdown to select specific range according to choice to change results displayed

TheJay

Active Member
Joined
Nov 12, 2014
Messages
364
Office Version
  1. 2019
Platform
  1. Windows
I have a sheet containing data. There are two dropdown boxes. I only want data to display in E4 & F4 once a choice has been made in the dropdown box in C4 AND D4.

When CT is chosen in the first dropdown, I want the subsequent dropdown to be looking through data range D5:D169. If DNN, data range D170:D334.

The difficulty I am having is that some areas have two different "Inspectors" and it's only taking data from the first range, even when DNN is selected.

I'm not sure what to do to get this working.

I have the data listed immediately under the dropdown box in order to utilise autocomplete, so the data will be in hidden rows once this is finished.

 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
I think you may be making the dropdown choices for the parish a bit more complicated than it needs to be, given that both the CT and DNN lists are identical. On the other issue, please try putting the following formula in cell F4. It should take care of the different inspector issue for you:
Excel Formula:
=IFERROR(INDEX(F5:F334,MATCH(1,(C4=C5:C334)*(D4=D5:D334),0)),"")
 
Upvote 0
how about..

Testyx.xlsm
ABCDEF
1
2Areas
3DepartmentParishParish #Inspector
4CTBirtsmorton109Inspector
5
6CTAbberleyCTAbberley101CTAbberley101VV
7CTAlfrickCTAlfrick103CTAlfrick103VV
8CTAstleyCTAstley105CTAstley105VV
9CTBaytonCTBayton230CTBayton230VV
10CTBerrowCTBerrow108CTBerrow108VV
11CTBirtsmortonCTBirtsmorton109CTBirtsmorton109Inspector
12CTBockletonCTBockleton231CTBockleton231VV
13CTBransfordCTBransford112CTBransford112VV
14CTBroadheathCTBroadheath114CTBroadheath114VV
15CTBroadwasCTBroadwas115CTBroadwas115VV
16CTBushleyCTBushley118CTBushley118VV
17CTCastlemortonCTCastlemorton121CTCastlemorton121VV
18CTCliftonCTClifton122CTClifton122VV
19CTCotheridgeCTCotheridge126CTCotheridge126VV
20CTCroome D’AbiotCTCroome D’Abiot128CTCroome D’Abiot128VV
21CTDoddenhamCTDoddenham129CTDoddenham129VV
22CTEarls CroomeCTEarls Croome131CTEarls Croome131VV
23CTEasthamCTEastham232CTEastham232VV
24CTEldersfieldCTEldersfield136CTEldersfield136VV
25CTGreat WitleyCTGreat Witley139CTGreat Witley139VV
26CTGrimleyCTGrimley141CTGrimley141VV
27CTGuarlfordCTGuarlford142CTGuarlford142VV
28CTHallowCTHallow143CTHallow143VV
29CTHanleyCTHanley233CTHanley233VV
30CTHanley CastleCTHanley Castle145CTHanley Castle145VV
31CTHill CroomeCTHill Croome146CTHill Croome146VV
32CTHillhamptonCTHillhampton147CTHillhampton147VV
33CTHoldfastCTHoldfast148CTHoldfast148VV
34CTHoltCTHolt149CTHolt149VV
35CTKempseyCTKempsey150CTKempsey150VV
36CTKenswickCTKenswick151CTKenswick151VV
37CTKnighton on TemeCTKnighton on Teme234CTKnighton on Teme234VV
38CTKnightwickCTKnightwick152CTKnightwick152VV
39CTKyreCTKyre235CTKyre235VV
40CTLeighCTLeigh155CTLeigh155VV
41CTLiDNNidgeCTLiDNNidge236CTLiDNNidge236VV
42CTLittle MalvernCTLittle Malvern158CTLittle Malvern158VV
43CTLittle WitleyCTLittle Witley160CTLittle Witley160VV
44CTLongdonCTLongdon161CTLongdon161VV
45CTLower SapeyCTLower Sapey162CTLower Sapey162VV
46CTLulsleyCTLulsley163CTLulsley163VV
47CTMadresfieldCTMadresfield164CTMadresfield164VV
48CTMalvern WellsCTMalvern Wells166CTMalvern Wells166VV
49CTMalvernCTMalvern165CTMalvern165VV
50CTMambleCTMamble237CTMamble237VV
51CTMartleyCTMartley175CTMartley175VV
52CTNewlandCTNewland181CTNewland181VV
53CTPendockCTPendock185CTPendock185VV
54CTPensaxCTPensax238CTPensax238VV
55CTPowickCTPowick187CTPowick187VV
56CTQueen HillCTQueen Hill189CTQueen Hill189VV
57CTRippleCTRipple190CTRipple190VV
58CTRockfordCTRockford239CTRockford239VV
59CTRushwickCTRushwick191CTRushwick191VV
60CTSevern StokeCTSevern Stoke193CTSevern Stoke193VV
61CTShelsley BeauchampCTShelsley Beauchamp194CTShelsley Beauchamp194VV
62CTShelsley KingCTShelsley King195CTShelsley King195VV
63CTShelsley WalshCTShelsley Walsh196CTShelsley Walsh196VV
64CTShrawleyCTShrawley197CTShrawley197VV
65CTStanford w/orletonCTStanford w/orleton240CTStanford w/orleton240VV
66CTStockton-on-TemeCTStockton-on-Teme241CTStockton-on-Teme241VV
67CTStoke BlissCTStoke Bliss242CTStoke Bliss242VV
68CTSuckleyCTSuckley201CTSuckley201VV
69CTTenburyCTTenbury243CTTenbury243VV
70CTUpton on SevernCTUpton on Severn208/209CTUpton on Severn208/209VV
71CTWellandCTWelland211CTWelland211VV
72CTWest MalvernCTWest Malvern167CTWest Malvern167VV
73CTWichenfordCTWichenford214CTWichenford214VV
74CTWorcesterCTWorcester10CTWorcester10NNN
75CTWarndonCTWarndon20CTWarndon20NNN
76CTSt PetersCTSt Peters30CTSt Peters30NNN
77CTAbbertonCTAbberton1CTAbberton001NNN
78CTAbbots MortonCTAbbots Morton45CTAbbots Morton045NNN
79CTAldingtonCTAldington46CTAldington046NNN
80CTAshton Under HillCTAshton Under Hill47CTAshton Under Hill047VV
81CTAston SomervilleCTAston Somerville48CTAston Somerville048VV
82CTBadseyCTBadsey49CTBadsey049NNN
83CTBeckfordCTBeckford51CTBeckford051VV
84CTBesfordCTBesford2CTBesford002VV
85CTBickmarshCTBickmarsh52CTBickmarsh052NNN
86CTBirlinghamCTBirlingham3CTBirlingham003VV
87CTBishamptonCTBishampton4CTBishampton004NNN
88CTBredicotCTBredicot5CTBredicot005NNN
89CTBredonCTBredon6CTBredon006VV
90CTBredons NortonCTBredons Norton7CTBredons Norton007VV
91CTBretfortonCTBretforton53CTBretforton053NNN
92CTBricklehamptonCTBricklehampton8CTBricklehampton008NNN
93CTBroadwayCTBroadway54CTBroadway054NNN
94CTBroughton HackettCTBroughton Hackett9CTBroughton Hackett009NNN
95CTCharltonCTCharlton10CTCharlton010NNN
96CTChildswickhamCTChildswickham55CTChildswickham055NNN
97CTSouth LenchesCTSouth Lenches56CTSouth Lenches056NNN
98CTChurchillCTChurchill11CTChurchill011NNN
99CTCleeve PriorCTCleeve Prior57CTCleeve Prior057NNN
100CTCondertonCTConderton58CTConderton058VV
101CTCookhillCTCookhill71CTCookhill071NNN
102CTCropthorneCTCropthorne14CTCropthorne014NNN
103CTCrowleCTCrowle75CTCrowle075NNN
104CTDeffordCTDefford15CTDefford015VV
105CTDodderhillCTDodderhill76CTDodderhill076NNN
106CTDormstonCTDormston16CTDormston016NNN
107CTDoverdaleCTDoverdale77CTDoverdale077NNN
108CTDrakes BroughtonCTDrakes Broughton17CTDrakes Broughton017NNN
109CTDroitwichCTDroitwich95CTDroitwich095NNN
110CTEckingtonCTEckington19CTEckington019VV
111CTElmbridgeCTElmbridge78CTElmbridge078NNN
112CTElmley CastleCTElmley Castle20CTElmley Castle020NNN
113CTElmley LovettCTElmley Lovett79CTElmley Lovett079NNN
114CTEveshamCTEvesham50CTEvesham050VV
115CTFladburyCTFladbury21CTFladbury021NNN
116CTFlyford FlavelCTFlyford Flavel22CTFlyford Flavel022NNN
117CTGrafton FlyfordCTGrafton Flyford23CTGrafton Flyford023NNN
118CTGreat CombertonCTGreat Comberton12CTGreat Comberton012NNN
119CTHadzorCTHadzor80CTHadzor080NNN
120CTHampton LovettCTHampton Lovett81CTHampton Lovett081NNN
121CTHanburyCTHanbury82CTHanbury082NNN
122CTHartleburyCTHartlebury83CTHartlebury083NNN
123CTHarvingtonCTHarvington59CTHarvington059NNN
124CTHill & MoorCTHill & Moor24CTHill & Moor024NNN
125CTHimbletonCTHimbleton84CTHimbleton084NNN
126CTHindlipCTHindlip85CTHindlip085NNN
127CTHinton on The GreenCTHinton on The Green72CTHinton on The Green072NNN
128CTHoneybourneCTHoneybourne60CTHoneybourne060NNN
129CTHuddingtonCTHuddington86CTHuddington086NNN
130CTInkberrowCTInkberrow61CTInkberrow061NNN
131CTKemertonCTKemerton62CTKemerton062VV
132CTKingtonCTKington25CTKington025NNN
133CTLittle CombertonCTLittle Comberton13CTLittle Comberton013NNN
134CTMartin HussingtreeCTMartin Hussingtree87CTMartin Hussingtree087NNN
135CTMiddle Littleton CTMiddle Littleton 63CTMiddle Littleton 063NNN
136CTNaunton BeauchampCTNaunton Beauchamp26CTNaunton Beauchamp026NNN
137CTNethertonCTNetherton27CTNetherton027NNN
138CTNorth and Middle LittletonCTNorth and Middle Littleton63CTNorth and Middle Littleton063NNN
139CTNorth ClainesCTNorth Claines74CTNorth Claines074NNN
140CTNorth PiddleCTNorth Piddle28CTNorth Piddle028NNN
141CTNorton and LenchwickCTNorton and Lenchwick64CTNorton and Lenchwick064NNN
142CTNorton Juxta KempseyCTNorton Juxta Kempsey29CTNorton Juxta Kempsey029NNN
143CTOddingleyCTOddingley88CTOddingley088NNN
144CTOffenhamCTOffenham65CTOffenham065NNN
145CTOmbersleyCTOmbersley89CTOmbersley089NNN
146CTOverburyCTOverbury73CTOverbury073VV
147CTPebworthCTPebworth66CTPebworth066NNN
148CTPeopletonCTPeopleton30CTPeopleton030NNN
149CTPershoreCTPershore34CTPershore034NNN
150CTPinvinCTPinvin32CTPinvin032NNN
151CTPirtonCTPirton33CTPirton033VV
152CTRous LenchCTRous Lench67CTRous Lench067NNN
153CTSalwarpeCTSalwarpe90CTSalwarpe090NNN
154CTSedgeberrowCTSedgeberrow68CTSedgeberrow068VV
155CTSouth LittletonCTSouth Littleton69CTSouth Littleton069NNN
156CTSpetchleyCTSpetchley35CTSpetchley035NNN
157CTStock and BradleyCTStock and Bradley91CTStock and Bradley091NNN
158CTStoultonCTStoulton36CTStoulton036NNN
159CTStrenshamCTStrensham37CTStrensham037VV
160CTThrockmortonCTThrockmorton38CTThrockmorton038NNN
161CTTibbertonCTTibberton92CTTibberton092NNN
162CTUpton SnodsburyCTUpton Snodsbury39CTUpton Snodsbury039NNN
163CTUpton WarrenCTUpton Warren93CTUpton Warren093NNN
164CTWadboroughCTWadborough18CTWadborough018NNN
165CTWestwoodCTWestwood94CTWestwood094NNN
166CTWhite Ladies AstonCTWhite Ladies Aston40CTWhite Ladies Aston040NNN
167CTWhittingtonCTWhittington41CTWhittington041NNN
168CTWickCTWick42CTWick042NNN
169CTWickhamfordCTWickhamford70CTWickhamford070NNN
170CTWyre PiddleCTWyre Piddle43CTWyre Piddle043NNN
171CTAbberleyCTAbberley101DNNAbberley101VV
172CTAlfrickCTAlfrick103DNNAlfrick103VV
173CTAstleyCTAstley105DNNAstley105VV
174CTBaytonCTBayton230DNNBayton230VV
175CTBerrowCTBerrow108DNNBerrow108VV
176CTBirtsmortonCTBirtsmorton109DNNBirtsmorton109VV
177CTBockletonCTBockleton231DNNBockleton231VV
178CTBransfordCTBransford112DNNBransford112VV
179CTBroadheathCTBroadheath114DNNBroadheath114VV
VO Areas
Cell Formulas
RangeFormula
E4E4=VLOOKUP($C$4&$D$4,$A$6:$G$335,5,0)
F4F4=VLOOKUP(C4&D4&E4,$B$6:$G$335,5,0)
A6:A179A6=$C$4&D6
B6:B179B6=$C$4&D6&E6
Named Ranges
NameRefers ToCells
'VO Areas'!_FilterDatabase='VO Areas'!$C$6:$F$335E4:F4
CT='VO Areas'!$D$6:$D$170E4:F4, A6:B6
DNN='VO Areas'!$D$171:$D$335A171:B171, E4:F4
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C4:D4Cell Valuecontains "Choose Parish"textNO
E4:F4,C4Expression=ISNA(C4)textNO
Cells with Data Validation
CellAllowCriteria
C4ListCT,DNN
D4List=IF(C4="Council Tax",INDIRECT("D5:D169"),INDIRECT("D170:D334"))
E4List=$E$6:$E$169
F4List=$F$6:$F$169
 
Upvote 0
Thanks for your replies. The first answer seemed to work. I couldn't figure out XL2BB to test the other.

It's been developed further now and it's nearly done. I'm not sure how to make the last bit work.


E4 is now a validation drop down box but also I need it to update when a selection is made in C4 and D4 and C4 and D4 to be updated if a selection is made from E4.

In the file I have uploaded, I have left choices in C4 and D4. When this is done, E4 should display the parish of the data on that row. Equally, if the user bypasses C4 and D4 and enters or chooses a Parish in E4, it should populate the D4 with the corresponding parish name, whilst not displaying anything in F4 and G4 until C4 has a value.

Is this possible?
 
Upvote 0
how about..

Testyx.xlsm
ABCDEF
1
2Areas
3DepartmentParishParish #Inspector
4CTBirtsmorton109Inspector
5
6CTAbberleyCTAbberley101CTAbberley101VV
7CTAlfrickCTAlfrick103CTAlfrick103VV
8CTAstleyCTAstley105CTAstley105VV
9CTBaytonCTBayton230CTBayton230VV
10CTBerrowCTBerrow108CTBerrow108VV
11CTBirtsmortonCTBirtsmorton109CTBirtsmorton109Inspector
12CTBockletonCTBockleton231CTBockleton231VV
13CTBransfordCTBransford112CTBransford112VV
14CTBroadheathCTBroadheath114CTBroadheath114VV
15CTBroadwasCTBroadwas115CTBroadwas115VV
16CTBushleyCTBushley118CTBushley118VV
17CTCastlemortonCTCastlemorton121CTCastlemorton121VV
18CTCliftonCTClifton122CTClifton122VV
19CTCotheridgeCTCotheridge126CTCotheridge126VV
20CTCroome D’AbiotCTCroome D’Abiot128CTCroome D’Abiot128VV
21CTDoddenhamCTDoddenham129CTDoddenham129VV
22CTEarls CroomeCTEarls Croome131CTEarls Croome131VV
23CTEasthamCTEastham232CTEastham232VV
24CTEldersfieldCTEldersfield136CTEldersfield136VV
25CTGreat WitleyCTGreat Witley139CTGreat Witley139VV
26CTGrimleyCTGrimley141CTGrimley141VV
27CTGuarlfordCTGuarlford142CTGuarlford142VV
28CTHallowCTHallow143CTHallow143VV
29CTHanleyCTHanley233CTHanley233VV
30CTHanley CastleCTHanley Castle145CTHanley Castle145VV
31CTHill CroomeCTHill Croome146CTHill Croome146VV
32CTHillhamptonCTHillhampton147CTHillhampton147VV
33CTHoldfastCTHoldfast148CTHoldfast148VV
34CTHoltCTHolt149CTHolt149VV
35CTKempseyCTKempsey150CTKempsey150VV
36CTKenswickCTKenswick151CTKenswick151VV
37CTKnighton on TemeCTKnighton on Teme234CTKnighton on Teme234VV
38CTKnightwickCTKnightwick152CTKnightwick152VV
39CTKyreCTKyre235CTKyre235VV
40CTLeighCTLeigh155CTLeigh155VV
41CTLiDNNidgeCTLiDNNidge236CTLiDNNidge236VV
42CTLittle MalvernCTLittle Malvern158CTLittle Malvern158VV
43CTLittle WitleyCTLittle Witley160CTLittle Witley160VV
44CTLongdonCTLongdon161CTLongdon161VV
45CTLower SapeyCTLower Sapey162CTLower Sapey162VV
46CTLulsleyCTLulsley163CTLulsley163VV
47CTMadresfieldCTMadresfield164CTMadresfield164VV
48CTMalvern WellsCTMalvern Wells166CTMalvern Wells166VV
49CTMalvernCTMalvern165CTMalvern165VV
50CTMambleCTMamble237CTMamble237VV
51CTMartleyCTMartley175CTMartley175VV
52CTNewlandCTNewland181CTNewland181VV
53CTPendockCTPendock185CTPendock185VV
54CTPensaxCTPensax238CTPensax238VV
55CTPowickCTPowick187CTPowick187VV
56CTQueen HillCTQueen Hill189CTQueen Hill189VV
57CTRippleCTRipple190CTRipple190VV
58CTRockfordCTRockford239CTRockford239VV
59CTRushwickCTRushwick191CTRushwick191VV
60CTSevern StokeCTSevern Stoke193CTSevern Stoke193VV
61CTShelsley BeauchampCTShelsley Beauchamp194CTShelsley Beauchamp194VV
62CTShelsley KingCTShelsley King195CTShelsley King195VV
63CTShelsley WalshCTShelsley Walsh196CTShelsley Walsh196VV
64CTShrawleyCTShrawley197CTShrawley197VV
65CTStanford w/orletonCTStanford w/orleton240CTStanford w/orleton240VV
66CTStockton-on-TemeCTStockton-on-Teme241CTStockton-on-Teme241VV
67CTStoke BlissCTStoke Bliss242CTStoke Bliss242VV
68CTSuckleyCTSuckley201CTSuckley201VV
69CTTenburyCTTenbury243CTTenbury243VV
70CTUpton on SevernCTUpton on Severn208/209CTUpton on Severn208/209VV
71CTWellandCTWelland211CTWelland211VV
72CTWest MalvernCTWest Malvern167CTWest Malvern167VV
73CTWichenfordCTWichenford214CTWichenford214VV
74CTWorcesterCTWorcester10CTWorcester10NNN
75CTWarndonCTWarndon20CTWarndon20NNN
76CTSt PetersCTSt Peters30CTSt Peters30NNN
77CTAbbertonCTAbberton1CTAbberton001NNN
78CTAbbots MortonCTAbbots Morton45CTAbbots Morton045NNN
79CTAldingtonCTAldington46CTAldington046NNN
80CTAshton Under HillCTAshton Under Hill47CTAshton Under Hill047VV
81CTAston SomervilleCTAston Somerville48CTAston Somerville048VV
82CTBadseyCTBadsey49CTBadsey049NNN
83CTBeckfordCTBeckford51CTBeckford051VV
84CTBesfordCTBesford2CTBesford002VV
85CTBickmarshCTBickmarsh52CTBickmarsh052NNN
86CTBirlinghamCTBirlingham3CTBirlingham003VV
87CTBishamptonCTBishampton4CTBishampton004NNN
88CTBredicotCTBredicot5CTBredicot005NNN
89CTBredonCTBredon6CTBredon006VV
90CTBredons NortonCTBredons Norton7CTBredons Norton007VV
91CTBretfortonCTBretforton53CTBretforton053NNN
92CTBricklehamptonCTBricklehampton8CTBricklehampton008NNN
93CTBroadwayCTBroadway54CTBroadway054NNN
94CTBroughton HackettCTBroughton Hackett9CTBroughton Hackett009NNN
95CTCharltonCTCharlton10CTCharlton010NNN
96CTChildswickhamCTChildswickham55CTChildswickham055NNN
97CTSouth LenchesCTSouth Lenches56CTSouth Lenches056NNN
98CTChurchillCTChurchill11CTChurchill011NNN
99CTCleeve PriorCTCleeve Prior57CTCleeve Prior057NNN
100CTCondertonCTConderton58CTConderton058VV
101CTCookhillCTCookhill71CTCookhill071NNN
102CTCropthorneCTCropthorne14CTCropthorne014NNN
103CTCrowleCTCrowle75CTCrowle075NNN
104CTDeffordCTDefford15CTDefford015VV
105CTDodderhillCTDodderhill76CTDodderhill076NNN
106CTDormstonCTDormston16CTDormston016NNN
107CTDoverdaleCTDoverdale77CTDoverdale077NNN
108CTDrakes BroughtonCTDrakes Broughton17CTDrakes Broughton017NNN
109CTDroitwichCTDroitwich95CTDroitwich095NNN
110CTEckingtonCTEckington19CTEckington019VV
111CTElmbridgeCTElmbridge78CTElmbridge078NNN
112CTElmley CastleCTElmley Castle20CTElmley Castle020NNN
113CTElmley LovettCTElmley Lovett79CTElmley Lovett079NNN
114CTEveshamCTEvesham50CTEvesham050VV
115CTFladburyCTFladbury21CTFladbury021NNN
116CTFlyford FlavelCTFlyford Flavel22CTFlyford Flavel022NNN
117CTGrafton FlyfordCTGrafton Flyford23CTGrafton Flyford023NNN
118CTGreat CombertonCTGreat Comberton12CTGreat Comberton012NNN
119CTHadzorCTHadzor80CTHadzor080NNN
120CTHampton LovettCTHampton Lovett81CTHampton Lovett081NNN
121CTHanburyCTHanbury82CTHanbury082NNN
122CTHartleburyCTHartlebury83CTHartlebury083NNN
123CTHarvingtonCTHarvington59CTHarvington059NNN
124CTHill & MoorCTHill & Moor24CTHill & Moor024NNN
125CTHimbletonCTHimbleton84CTHimbleton084NNN
126CTHindlipCTHindlip85CTHindlip085NNN
127CTHinton on The GreenCTHinton on The Green72CTHinton on The Green072NNN
128CTHoneybourneCTHoneybourne60CTHoneybourne060NNN
129CTHuddingtonCTHuddington86CTHuddington086NNN
130CTInkberrowCTInkberrow61CTInkberrow061NNN
131CTKemertonCTKemerton62CTKemerton062VV
132CTKingtonCTKington25CTKington025NNN
133CTLittle CombertonCTLittle Comberton13CTLittle Comberton013NNN
134CTMartin HussingtreeCTMartin Hussingtree87CTMartin Hussingtree087NNN
135CTMiddle Littleton CTMiddle Littleton 63CTMiddle Littleton 063NNN
136CTNaunton BeauchampCTNaunton Beauchamp26CTNaunton Beauchamp026NNN
137CTNethertonCTNetherton27CTNetherton027NNN
138CTNorth and Middle LittletonCTNorth and Middle Littleton63CTNorth and Middle Littleton063NNN
139CTNorth ClainesCTNorth Claines74CTNorth Claines074NNN
140CTNorth PiddleCTNorth Piddle28CTNorth Piddle028NNN
141CTNorton and LenchwickCTNorton and Lenchwick64CTNorton and Lenchwick064NNN
142CTNorton Juxta KempseyCTNorton Juxta Kempsey29CTNorton Juxta Kempsey029NNN
143CTOddingleyCTOddingley88CTOddingley088NNN
144CTOffenhamCTOffenham65CTOffenham065NNN
145CTOmbersleyCTOmbersley89CTOmbersley089NNN
146CTOverburyCTOverbury73CTOverbury073VV
147CTPebworthCTPebworth66CTPebworth066NNN
148CTPeopletonCTPeopleton30CTPeopleton030NNN
149CTPershoreCTPershore34CTPershore034NNN
150CTPinvinCTPinvin32CTPinvin032NNN
151CTPirtonCTPirton33CTPirton033VV
152CTRous LenchCTRous Lench67CTRous Lench067NNN
153CTSalwarpeCTSalwarpe90CTSalwarpe090NNN
154CTSedgeberrowCTSedgeberrow68CTSedgeberrow068VV
155CTSouth LittletonCTSouth Littleton69CTSouth Littleton069NNN
156CTSpetchleyCTSpetchley35CTSpetchley035NNN
157CTStock and BradleyCTStock and Bradley91CTStock and Bradley091NNN
158CTStoultonCTStoulton36CTStoulton036NNN
159CTStrenshamCTStrensham37CTStrensham037VV
160CTThrockmortonCTThrockmorton38CTThrockmorton038NNN
161CTTibbertonCTTibberton92CTTibberton092NNN
162CTUpton SnodsburyCTUpton Snodsbury39CTUpton Snodsbury039NNN
163CTUpton WarrenCTUpton Warren93CTUpton Warren093NNN
164CTWadboroughCTWadborough18CTWadborough018NNN
165CTWestwoodCTWestwood94CTWestwood094NNN
166CTWhite Ladies AstonCTWhite Ladies Aston40CTWhite Ladies Aston040NNN
167CTWhittingtonCTWhittington41CTWhittington041NNN
168CTWickCTWick42CTWick042NNN
169CTWickhamfordCTWickhamford70CTWickhamford070NNN
170CTWyre PiddleCTWyre Piddle43CTWyre Piddle043NNN
171CTAbberleyCTAbberley101DNNAbberley101VV
172CTAlfrickCTAlfrick103DNNAlfrick103VV
173CTAstleyCTAstley105DNNAstley105VV
174CTBaytonCTBayton230DNNBayton230VV
175CTBerrowCTBerrow108DNNBerrow108VV
176CTBirtsmortonCTBirtsmorton109DNNBirtsmorton109VV
177CTBockletonCTBockleton231DNNBockleton231VV
178CTBransfordCTBransford112DNNBransford112VV
179CTBroadheathCTBroadheath114DNNBroadheath114VV
VO Areas
Cell Formulas
RangeFormula
E4E4=VLOOKUP($C$4&$D$4,$A$6:$G$335,5,0)
F4F4=VLOOKUP(C4&D4&E4,$B$6:$G$335,5,0)
A6:A179A6=$C$4&D6
B6:B179B6=$C$4&D6&E6
Named Ranges
NameRefers ToCells
'VO Areas'!_FilterDatabase='VO Areas'!$C$6:$F$335E4:F4
CT='VO Areas'!$D$6:$D$170E4:F4, A6:B6
DNN='VO Areas'!$D$171:$D$335A171:B171, E4:F4
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C4:D4Cell Valuecontains "Choose Parish"textNO
E4:F4,C4Expression=ISNA(C4)textNO
Cells with Data Validation
CellAllowCriteria
C4ListCT,DNN
D4List=IF(C4="Council Tax",INDIRECT("D5:D169"),INDIRECT("D170:D334"))
E4List=$E$6:$E$169
F4List=$F$6:$F$169
you dont need the xlbb for this to work. just click the copy icon on the upper left and paste it directly to excel
 
Upvote 0
And that copies all the conditional formatting and all other settings etc? So copying that picks everything up?

The one line of code presented made it work for me, it's been overhauled since then and it's close to being finished. I need to know about the functionality I mentioned before in the new sheet I uploaded.

Thanks.
 
Upvote 0
And that copies all the conditional formatting and all other settings etc? So copying that picks everything up?

The one line of code presented made it work for me, it's been overhauled since then and it's close to being finished. I need to know about the functionality I mentioned before in the new sheet I uploaded.

Thanks.
yes. either way, glad that you've figured it out. good day ahead.
 
Upvote 0
Hopefully this last bit can be solved fairly quickly as in the latest attached link.
 
Upvote 0

Forum statistics

Threads
1,215,100
Messages
6,123,086
Members
449,095
Latest member
gwguy

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