Formula looking at Drop-Down list doesn't update my Shape

monkeyharris

Active Member
Joined
Jan 20, 2008
Messages
372
Office Version
  1. 365
Platform
  1. Windows
Hi all,
Not sure if this is a glitch but i have a drop down list that looks at postcodes (range A2:B2993). I have another cell that looks up the drop down list it it updates perfectly. For instance, if the user selects AB1 in the drop down (V61), the cell looking up the dropdown (V57) will show AB (column B below) All Good. V57 then highlights a shape based on the postcode. My problem is, the only way the shape updates is if i double click in V57 and press enter????? Is this fixable?

Snake Postcode Map.xlsm
NOPQRSTUVW
57Enter PostcodeCT
58
59
60
61Enter First Half of Delivery PostcodeCT20
62
63Delivery Frequency by Postcode and clostest IDS Depot
64Post DistrictBranchMONTUEWEDTHUFRI
65CT20ChathamNOYESNOYESNO
General Tariff
Cell Formulas
RangeFormula
V57V57=VLOOKUP(V61,'Postcode Districts'!$A$2:$C$2993,2)
N65N65=V61
P65P65=IFERROR(VLOOKUP(N65,'[MP Moran - Postcode matrix.xlsx]Postcode Districts'!$A$1:$C$3000,3,FALSE),"N/A")
S65S65=IFERROR(VLOOKUP($N65,'Postcode Districts'!$A$2:$I$3000,4,FALSE),"N/A")
T65T65=IFERROR(VLOOKUP($N65,'Postcode Districts'!$A$2:$I$3000,5,FALSE),"N/A")
U65U65=IFERROR(VLOOKUP($N65,'Postcode Districts'!$A$2:$I$3000,6,FALSE),"N/A")
V65V65=IFERROR(VLOOKUP($N65,'Postcode Districts'!$A$2:$I$3000,7,FALSE),"N/A")
W65W65=IFERROR(VLOOKUP($N65,'Postcode Districts'!$A$2:$I$3000,8,FALSE),"N/A")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
P65,S65:W65Cell Valuecontains "N/A"textNO
S65:W65Cell Valuecontains "No"textNO
S65:W65Cell Value="Yes"textNO
Cells with Data Validation
CellAllowCriteria
V61:W61List=$AI$1:$AI$2992




Snake Postcode Map.xlsm
ABCDEFGHI
1Postcode DistrictPostcodeBranchMondayTuesdayWednesdayThursdayFridayComments
2AB1ABRosythYESNOYESNOYESN/A
3AB10ABRosythYESNOYESNOYESN/A
4AB11ABRosythYESNOYESNOYESN/A
5AB12ABRosythYESNOYESNOYESN/A
6AB13ABRosythYESNOYESNOYESN/A
7AB14ABRosythYESNOYESNOYESN/A
8AB15ABRosythYESNOYESNOYESN/A
9AB16ABRosythYESNOYESNOYESN/A
10AB2ABRosythYESNOYESNOYESN/A
11AB21ABRosythYESNOYESNOYESN/A
12AB22ABRosythYESNOYESNOYESN/A
13AB23ABRosythYESNOYESNOYESN/A
14AB24ABRosythYESNOYESNOYESN/A
15AB25ABRosythYESNOYESNOYESN/A
16AB3ABRosythYESNOYESNOYESN/A
17AB30ABRosythYESNOYESNOYESN/A
18AB31ABRosythYESNOYESNOYESN/A
19AB32ABRosythYESNOYESNOYESN/A
20AB33ABRosythNOYESNONONOCHECK WITH ROSYTH BEFORE BOOKING
21AB34ABRosythNOYESNONONOCHECK WITH ROSYTH BEFORE BOOKING
22AB35ABRosythNOYESNONONOCHECK WITH ROSYTH BEFORE BOOKING
23AB36ABRosythNOYESNONONOCHECK WITH ROSYTH BEFORE BOOKING
24AB37ABRosythNOYESNONONON/A
25AB38ABRosythNOYESNONONON/A
26AB39ABRosythYESNOYESNOYESN/A
27AB4ABRosythYESNOYESNOYESN/A
28AB41ABRosythYESNOYESNOYESN/A
29AB42ABRosythYESNOYESNOYESN/A
30AB43ABRosythYESNOYESNONON/A
31AB44ABRosythNOYESNONONON/A
32AB45ABRosythNOYESNONONON/A
33AB5ABRosythYESNOYESNOYESN/A
34AB51ABRosythYESNOYESNOYESN/A
35AB52ABRosythNOYESNONONON/A
36AB53ABRosythNOYESNONONON/A
37AB54ABRosythNOYESNONONON/A
38AB55ABRosythNOYESNONONON/A
39AB56ABRosythNOYESNONONON/A
40AB9ABRosythYESNOYESNOYESN/A
41AB99ABRosythYESNOYESNOYESN/A
42AL1ALNuneatonNOYESNOYESNON/A
43AL10ALNuneatonNOYESNOYESNON/A
44AL2ALNuneatonNOYESNOYESNON/A
45AL3ALNuneatonNOYESNOYESNON/A
46AL4ALNuneatonNOYESNOYESNON/A
47AL5ALNuneatonNOYESNOYESNON/A
48AL6ALNuneatonNOYESNOYESNON/A
49AL7ALNuneatonNOYESNOYESNON/A
Postcode Districts
 

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.
Do you highlight the shape with a VBA macro? In that case, could you post it?
 
Upvote 0
@Engberg I know from responding to another* @monkeyharris post that the shape updating was originally to be triggered by change to input to cell V57.

Subsequently they have changed the input cell to V61 with the expectation that the recalculation of the formula in V57 would still trigger the original change event code.
Neither of which will happen.
I have subsequently posted revised code to suit. Hence this question is now somewhat redundant.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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