I have a named ranged that I am using to support a validation list for a cell, say cell G11. Depending on the value selected for G11 I am trying to get the validation list of cell G13 to use the same named range but to only present values from thenamed range that are greater than the value selected for G11.
data_lst is the named range - from B3 to B12. What I have done is shown below but while is shows the correct range as $B$5:$B$12 (B5 being the first cell in the range greater than the value of G11) it doesn't work to be inserted in the validation listfor cell G13. I get an error of "The list source must be a delimited list or a reference to single row or columns".
Any help would be greatly appreciated. Hopefully it a simple fix.
=CONCAT(CELL("address",INDEX(data_lst,MATCH(TRUE,data_lst>G11,0))),":",ADDRESS(MAX(ROW(data_lst)),MAX(COLUMN(data_lst))))
On Wednesday, 26 October 2022 at 15:00:53 UTC-6, David Cuthill wrote:named range that are greater than the value selected for G11.
I have a named ranged that I am using to support a validation list for a cell, say cell G11. Depending on the value selected for G11 I am trying to get the validation list of cell G13 to use the same named range but to only present values from the
list for cell G13. I get an error of "The list source must be a delimited list or a reference to single row or columns".data_lst is the named range - from B3 to B12. What I have done is shown below but while is shows the correct range as $B$5:$B$12 (B5 being the first cell in the range greater than the value of G11) it doesn't work to be inserted in the validation
Any help would be greatly appreciated. Hopefully it a simple fix.
=CONCAT(CELL("address",INDEX(data_lst,MATCH(TRUE,data_lst>G11,0))),":",ADDRESS(MAX(ROW(data_lst)),MAX(COLUMN(data_lst))))Okay - well did a bit more checking and just by adding INDIRECT to the found of all this it now works. Maybe not the most elegant way of doing things but it seems to now work.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 298 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:23:59 |
Calls: | 6,677 |
Files: | 12,219 |
Messages: | 5,340,482 |