Forum Discussion

Nishkarsh31's avatar
Nishkarsh31
Brass Contributor
Mar 29, 2021
Solved

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 
  • PeterBartholomew1's avatar
    PeterBartholomew1
    Mar 30, 2021

    Nishkarsh31 

    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 )

Resources