In column A4->A1004, I have 1000 rows - but there is only values in some, how do I get a collapsed list in column B4-> so I only see the rows with values.
Filter isn't an option
In column A4->A1004, I have 1000 rows - but there is only values in some, how do I get a collapsed list in column B4-> so I only see the rows with values.
Filter isn't an option
Are there any columns apart from A that always have data in them? If so you could try something like this. I should point out with 1000 rows it won't be instant.
Please Login or Register to view this content.
Last edited by Declamatory; 08-05-2016 at 10:36 AM.
I didn't post it in the VBA section, because the XLSM won't run from where the file is placed.
Here's a formula method.
Data Range
A B 1 2 3 4 Data1 Data1 5 Data2 6 Data2 Data3 7 Data3 Data4 8 Data4 Data5 9 Data6 10 Data5 11 12 Data6 13
This array formula** entered in B4:
=IFERROR(INDEX(A:A,SMALL(IF(A$4:A$12<>"",ROW(A$4:A$12)),ROWS(B$4:B4))),"")
** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
Copy down until you get blanks.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks