Hi,
I am trying to create a dynamic range for a column that contains blank cells.
I know how to do it when there are no blank cells.
But with blanks cells, it appears to be a complete different ball game.
Capture.JPG
Hi,
I am trying to create a dynamic range for a column that contains blank cells.
I know how to do it when there are no blank cells.
But with blanks cells, it appears to be a complete different ball game.
Capture.JPG
=$a$2:index($a$a, match(9e307, $a$a))
Entia non sunt multiplicanda sine necessitate
What is the result supposed to be and why?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Do-able with a helper column.... is that OK?
HELPER (array) can be on another sheet, hidden, etc:
=IFERROR(INDEX(A:A,SMALL(IF($A$2:$A$200>0,ROW($A$2:$A$200)),ROWS($1:1))),"")
List for data validation or whatever...
=OFFSET(Sheet1!$C$2,,,SUMPRODUCT(--(LEN(Sheet1!$C$2:$C$100)>0)))
Last edited by Glenn Kennedy; 03-18-2018 at 02:00 PM.
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
I forgot to add:
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...
there are non-array alternatives, but since we don't know what version of Excel you are using, I ca't use them. Even this one will need modified if you have Excel 2003 and earlier. Please help us to help you: amend your User Profile to show general global location AND your ecel version.
Last edited by Glenn Kennedy; 03-18-2018 at 02:02 PM.
=a2:index(a:a,lookup(2,1/(a1:a15<>""),row(a1:a15)))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks