Forum Discussion

Nishkarsh31's avatar
Nishkarsh31
Brass Contributor
Jan 18, 2020
Solved

My data validation isn't working in Excel 365. I guess there's a bug.

I've made a a dropdown list based on a formula. The formula works if I apply changes in Data validation every time I restart the file, and in some cells it works without even refreshing. There has ...
  • Riny_van_Eekelen's avatar
    Jan 18, 2020

    Nishkarsh31 

    Allow me to say that it's amazing that the drop-downs worked at all (even sometimes). Downloaded your schedule and experienced the same problems. Your formulae can be easily avoided if you assign Named Ranges to your data validation lists. The Data Validation formula can then be as simple as "=indirect(cell)". I've reworked your schedule in the first 15 rows of the "Expenses" sheet to demonstrate how this works. First, I removed all your data validation and re-entered ones based on Named Ranges for the second level drop-downs. I expect that these will work all the time. Just be ware that Named Ranges only accept letters and underscores ("_"). But I'd rather use that than overly complex formulae that try to mimic the same functionality but don't work properly.

Resources