One place where I often use the INDIRECT function is for data validation. If I have a table called tabColor
with a column called Color
, and I want to use that for data validation, you would think you could set up the data validation as a list with this formula:
=tabColor[Color]
However, this causes an error. If you wrap the formula with INDIRECT
, it works:
=INDIRECT("tabColor[Color]")
So, I have two questions:
INDIRECT
in data validation cause the cell to be marked as volatile?Btw, if you want to know more about volatile functions, a nice write-up can be found at chandoo.org
=tabColor[color]
then use the name of the named range as the Data Validation list's Source:. Sadly, table naming conventions have not caught up with all of the features where they should be able to be used directly.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With