Formula for Removing "Empty" rows without VBA???

Danny_G

New Member
Joined
Sep 28, 2021
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Hi.

I would like to ask, if it's possible to remove empty or special row from a column only with formulas, not with VBA?

I have a column like Column A in the attached image, and I would like to remove the "---" rows and keep the other rows in an other column.

Thanks for your help.
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    44.5 KB · Views: 12

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi & welcome to MrExcel.
In L1 dragged down
Excel Formula:
=IFERROR(INDEX($A$1:$A$100,AGGREGATE(15,6,(ROW($A$1:$A$100)-ROW($A$1)+1)/($A$1:$A$100<>"---"),ROWS(L$1:L1))),"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,005
Messages
6,122,661
Members
449,091
Latest member
peppernaut

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