Hi All,
Here I would like to make a drop down list of the cities with status A and B. Please help!
Thanks.
Hi All,
Here I would like to make a drop down list of the cities with status A and B. Please help!
Thanks.
1. Array Formula to assemble valid values (can be hidden):
=IFERROR(INDEX(B:B,SMALL(IF($C$2:$C$13={"A","B"},ROW($C$2:$C$13)),ROWS($1:1))),"")
2. named range (CTRL-F3 to view edit called list)
=$J$1:INDEX($J$1:$J$14,SUMPRODUCT(--(LEN(Sheet1!$J$1:$J$14)>0)))
3. data validation (list)
=List
Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks