Libreoffice Version I am currently using: 7.6.4.1, although the issue I am having was also showing up in the previous version I was using (7.4.?.?). I updated to the latest to see if it may have been a bug.
What I am trying to do is to create a dynamic selection list using validity and named ranges. The idea is to select the range shown in the Validity in column B based on what is in column A. My validity formula that is having issues is something like this:
IFS(A1=“Text A”,Range A, A1=“Text B”, Range B, etc)
“Range A” ,etc. are named ranges with varying numbers of items in each. For example, Range A has 10 items listed (say, Sheet2.A1:A10), Range B has 36 items, Range C has 15 items, etc.
If I use the IFS in my validity, I will get 26 “#N/A” after the 10th item when Range A is selected or 21 “#N/A” after the 15th item when Range C is selected. Otherwise the formula works fine.
Just for a test, I tried a nested IF formula in place of the IFS and it works perfectly at adjusting the number of items shown in a validity with no “#N/A”.
While the nested IF is a workaround, it’s clumsy and easy for me to mess up (which I have done, I got the IFS right the first time, minus the issue I am having above, the nested IFS took quite a few tries). Is there any way to use the IFS function and have it vary the length of the list shown in a validity? Or is that just how IFS works in Validity?
I tried selecting, under the validity settings, at skipping blank cells. That did not work.
Thank you for any help.