Copy rows that are NOT blank from A1:A150 to Column B

matthew101

New Member
Joined
Jun 22, 2018
Messages
13
I would greatly appreciate a solution to the following:
Copy rows that are not blank from A1:A150 to Column B or copy to another work sheet. As much as half of the rows can be blank in Column A.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
If col A is values rather than formulae, try
Code:
Range("A:A").SpecialCells(xlConstants).Copy Range("B1")
 
Upvote 0
Yes there is, but that's not my forte.
Hopefully another member will come along & help.
 
Upvote 0
Try this formula in B1 and copy it down to A150: =IF(A1<>"",A1,""). This may not be exactly what you wanted as it copies the blank cells as well.
 
Last edited:
Upvote 0
Try placing the following array formula (to be entered using Ctrl+Shift+Enter, not just Enter) anywhere in column B and drag-copying it down as needed:

=IFERROR(INDEX($A$1:$A$150,SMALL(IF($A$1:$A$150<>"",ROW($A$1:$A$150)),ROW(A1)-ROW($A$1)+1)),"")
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,446
Members
449,083
Latest member
Ava19

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