Forum Discussion
Asa94
Oct 05, 2021Copper Contributor
Data Validation: How to get around character limitation in the "Source" field
Dear colleagues, It turns out that I am to build a report based on drop-down options. For that purpose I am nesting IF formulas as shown below: The problem is that I really need a hu...
- Oct 05, 2021Asa94 Didn't want to assume you were a beginner. But now that you mention it, I would recommend you to start learning about structured tables. The one I used in the example was called "tblSelections". In the attached file I just called it "Table1". What seems to be complicated referencing with @ and [ ] goes all automatic when you click on a cell or select an entire column in a such a table. Just try, see what happens and start over when it goes wrong.Learning the dynamic array functions is also a good thing. Once you get the hang of them they are soooo much easier to work with than "old school" functions.In summary. First create table (the blue one in the attached workbook, called "Table1") with all the possible selections. Then designate the cells where you want the dropdown to be (I2:K2 in the attached workbook). Now you can create the dynamic arrays using UNIQUE and FILTER as demonstrated in columns E, F and G, linking to the cells I2, J2 or K2. Finally, set up data validation in these cells and enter the reference to the first cell in the relevant array followed by a #.Perhaps intimidating in the beginning, but you'll find many resources on line that can help you much better that I can. Google does wonders.
Asa94
Oct 08, 2021Copper Contributor
Thanks! I had a look at the video and that's what I aimed to do at first. However, as you'll imagine, having to set data validation for each cell and each row, not to mention creating the array for each cell, it far too much time-consuming and it entails that the person whoch is actually populating the report sheet with data needs to know how do arrays work and do this continually. Is there any way to automate these data validation and array creation tasks? Thanks a lot!
Riny_van_Eekelen
Oct 08, 2021Platinum Contributor
Asa94 Not that I know! Sorry.