Create PO number List skip blank cells

SDCarroll10

New Member
Joined
Sep 9, 2019
Messages
5
Existing data is Sheet4!E2:Sheet4!E700 and appears as below:

Retailers PO
9608561996
blank
blank
blank
blank
5008561749
blank
blank
blank
4908561680

<colgroup><col></colgroup><tbody>
</tbody>

I need to pull it to another sheet (column A) but skip the blank rows.

I have tried several Iferror formulas from different threads that are only showing zeros for every result.

Please help
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
This will list the highest to the lowest, ignoring blank rows.


ABCDE
1No Blank RowsRetailers PO
296085619969608561996
35008561749blank
44908561680blank
5blank
6blank
75008561749
8blank
9blank
10blank
114908561680

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
A2
=IFERROR(AGGREGATE(14,6,$E$2:$E$700,ROWS($A$1:$A1)),"")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Hi,
Thank you but I don't want it to change the order of the information. Is there a way to have it skip the blanks but keep them in the order they appear?
 
Upvote 0
Hi Rick,
I need it to take the info from column E and put it into column A as shown below. The formula Toadstool provided works but it re-arranges the PO numbers to be highest to lowest. I need them to stay in the same order they are already in.



ABCDE
1No Blank RowsRetailers PO
296085619969608561996
35008561749blank
44908561680blank
5blank
6blank
75008561749
8blank
9blank
10blank
114908561680

<tbody>
</tbody>
 
Upvote 0
ABCDE
1No Blank RowsRetailers PO
296085619969608561996
35008561749
44908561680
5
6
75008561749
8
9
10
114908561680
12

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1 (2)

Worksheet Formulas
CellFormula
A2
=IFERROR(INDEX($E$2:$E$700,AGGREGATE(15,6,ROW($E$2:$E$700)-ROW($A$1)/($E$2:$E$700<>""),ROWS($A$1:A1))),"")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Maybe this array-entered formula (assumed to be placed in cell A2 to start)...

=IFERROR(INDEX(E:E,SMALL(IF(E$2:E$100<>"",ROW(E$2:E$100)),ROWS(A$2:A2))),"")

Commit this formula using CTRL+SHIFT+ENTER and not just Enter by itself
 
Last edited:
Upvote 0
Hi,

Column E is actually on a separate tab so I edited the formula to the below but it is only providing a blank cell. What am I doing wrong?

=IFERROR(INDEX(Sheet4!E:Sheet4!E,SMALL(IF(Sheet4!E2:Sheet4!E700<>"",ROW(Sheet4!E2:Sheet4!E700)),ROWS(A$2:A2))),"")
 
Upvote 0
Code:
=IFERROR(INDEX(Sheet4!$E$2:$E$700,AGGREGATE(15,6,ROW(Sheet4!$E$2:$E$700)-ROW($A$1)/(Sheet4!$E$2:$E$700<>""),ROWS($A$1:A1))),"")
 
Upvote 0
hi,

column e is actually on a separate tab so i edited the formula to the below but it is only providing a blank cell. What am i doing wrong?

=iferror(index(sheet4!e:sheet4!e,small(if(sheet4!e2:sheet4!e700<>"",row(sheet4!e2:sheet4!e700)),rows(a$2:a2))),"")


it works!!! You are amazing! Thank you thank you thank you
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,231
Members
448,951
Latest member
jennlynn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top