Forum Discussion
Nishkarsh31
Mar 29, 2021Brass Contributor
Can't apply data validation with filter function inside. Is it possible?
I wanna put a conditional data validation inside a Table. It should come as a list I'm attaching the reference file along. Is it possible? SergeiBaklan PeterBartholomew1
- Mar 30, 2021
Sorry, I hadn't thought that one through. The function used to generate the number sequence was
= SEQUENCE(10001, 1, 0, 0.01)
Since 0.01 is not represented as an exact binary number, the error accumulates to finish up at
100.000000000014
For data validation to work, not only do you have to get the 100 to match, the rounding error has to match. Two options appear to work
= SEQUENCE(10001, 1, 0, 1) / 100
= ROUND( SEQUENCE(10001, 1, 0, 0.01), 2 )
HansVogelaar
Mar 29, 2021MVP
If you sort the table on the In sheet by Type, you can use the usual OFFSET/MATCH/COUNTIF formula for dependent data validation - see Dependent Drop Downs from Sorted List