Data Validation using Offset

Pestomania

Active Member
Joined
May 30, 2018
Messages
330
Office Version
  1. 365
Platform
  1. Windows
Hello all!!
So, I am trying to get an offset to work under a data validation. I have used an old forum to understand how to develop an offset that provides the unique "available steps" based on the table on the right for each program. It returns the appropriate steps. But I would like to use that to create a data validation drop down, but data validation returns and error when I attempt to do that. Can someone assist me in understanding what I have done wrong?

B2:B14 uses an indirect based on a name range, but I want to maintain the autonomy that if the results in the table on the right change, the dropdown auto-updates using the offset, but I am unable to get it to work. Any thoughts?

I am using Microsoft 365 for Enterprise, Version 2402.

Prestons Playground for Modeling.xlsx
ABCDEFG
1Program NameStep NameProgram NameAvailable Steps
2Program 1Operation 2Program 1Operation 2
3Program 1Operation 6Program 1Operation 6
4Program 2Operation 10Program 1Operation 6
5Program 2Operation 1Program 1Operation 10
6Program 2Operation 9Program 1Operation 1
7Program 2Operation 4Program 1Operation 9
8Program 3Operation 8Program 1Operation 4
9Program 3Program 1Operation 8
10Program 3Program 1Operation 8
11Program 3Program 1Operation 1
12Program 4Program 1Operation 9
13Program 4Program 2Operation 10
14Program 4Program 2Operation 1
15Program 2Operation 1
16Program 2Operation 6
17Program 2Operation 4
18Program 2Operation 1
19Program 2Operation 4
20Program 2Operation 4
21Program 2Operation 1
22Program 2Operation 7
23Program 2Operation 10
24Program 2Operation 1
25Program 2Operation 1
26Program 2Operation 7
27Program 2Operation 5
28Program 2Operation 6
29Program 2Operation 2
30Program 2Operation 5
31Program 2Operation 5
32Program 3Operation 5
33Program 3Operation 4
34Program 3Operation 1
35Program 3Operation 3
36Program 3Operation 2
37Program 3Operation 9
38Program 3Operation 5
39Program 4Operation 2
40Program 4Operation 7
41Program 4Operation 3
42Program 4Operation 3
43Program 4Operation 5
44Program 4Operation 6
45Program 4Operation 3
46Program 4Operation 3
47Program 4Operation 9
48Program 4Operation 3
49Program 4Operation 2
50Program 4Operation 7
51Program 4Operation 7
52Program 4Operation 8
Sheet7
Cell Formulas
RangeFormula
C2:C8C2=UNIQUE(OFFSET(JT_UDT_CAP_MOD_PROGRAM_SCHED[Available Steps],MATCH(JT_UDT_CAP_MOD_STEP_ATT[@[Program Name]],JT_UDT_CAP_MOD_PROGRAM_SCHED[Program Name],0)-1,0,COUNTIF(JT_UDT_CAP_MOD_PROGRAM_SCHED[Program Name],JT_UDT_CAP_MOD_STEP_ATT[@[Program Name]])))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
B2:B14List=INDIRECT(SUBSTITUTE(A2," ","_"))
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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