Dependent/filtered data validation dropdown list not refreshing table filter to one record by slicer.

LostInSwiss

New Member
Joined
Jul 2, 2024
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
A real edge case this one.

Background
I am modifying an excel based survey workbook that is locked down, cannot contain VBA or ActiveX controls.

Setup
  • I have a 2 tables Filter and Items. The Filter table has the headings ID, Item and Selection.
  • The Items table contains the headings Item and Type.
  • The selection column of the Filter table is populated by a data validation list (dropdown) based on the Type for the corresponding Item in the Items table using the formula
    VBA Code:
    =OFFSET(Items[@Item],MATCH(Filter[@Item],Items[Item],0)-1,1,3,1)
    This works as expected.
  • Windows 11, Office 2016
Issue
When the Items table is filtered to a single record using a slicer while the selection validation works correctly at first, the validation dropdown arrow and its selection contets does not refresh/update when filtering with the slicer to another single record, unless any cell is selected first. The issue only occurs when filtering the Items table to a single record, if multiple records are shown in the Items table there is no issue.

slicerissue.xlsx
ABCD
1IDItemSelection
21Computer
33Transport
45Home
5
6
7
8
9
10
11
12
13
Filter
Cells with Data Validation
CellAllowCriteria
C2:C4List=OFFSET(Items!$A$2,MATCH($B2,Items!$A$2:$A$10,0)-1,1,3,1)


slicerissue.xlsx
ABC
1ItemType
2ComputerHigh end
3ComputerMid range
4ComputerBudget
5TransportSUV
6TransportFamily
7TransportHatchback
8HomeApartment
9HomeSingle family home
10HomeBoat house
11
12
Items



EDIT: The minisheet does not add the slicer. Add a slicer to the filter table using the ID as the selection to replicate the issue.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,884
Messages
6,175,171
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