A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
It turned out to be a problem with the naming of the ranges.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have a problem, which is the following: I have two drop-down lists (column B and C) where the selection for list #2 depends on list #1. However, this only works perfectly for the first cell of column B and C. This is because the formula contains a reference to B3 >>> =SORT(UNIQUE(XLOOKUP(Sheet1!$B3;Table2[#Headers];E3:H9)))).
Meanwhile, I tried all kinds of possible solutions, with no result. I have no idea how to solve this.
Who can help me?
Thanks in advance!
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
It turned out to be a problem with the naming of the ranges.
My bad! Use SUBSTITUTE instead of REPLACE.
Sorry about that.
Create defined names
Administrative_risks referring to =OFFSET($E$2, 1, 0, COUNTA($E$2:$E$9), 1)
Clinical_risks referring to =OFFSET($F$2, 1, 0, COUNTA($F$2:$F$9), 1)
etc.
Set the Source of the data validation rule in C3 and down to
=INDIRECT(REPLACE(B3, " ", "_"))