remove blank rows

apgmin

Board Regular
Joined
Mar 1, 2010
Messages
143
Office Version
  1. 2013
Platform
  1. Windows
In sheet 1, say I have 4 rows of data

Now In sheet 2, I want only those rows in which the a column is not blank ( like A2, A3, A4, A5)are not blank

Now when I link the cells if there are say 3 rows which are blank there in sheet 1 then I also get the same 3 rows as zero or blank in sheet 2,

My question is if we can remove these blank lines and make a continuous table or rows in sheet 2

1654932301842.png


although column f is supposed to be in the next sheet, But I get the same issue

What I need is that if cell a3, a4 a5 is blank, then in the next sheet the row of 3,4 & 5 should be removed and I should get a table like the following

1654932417910.png


thanks in advance
 

Attachments

  • 1654932295874.png
    1654932295874.png
    5.5 KB · Views: 4

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Are you looking for a formula solution, macro or power query?
 
Upvote 0
a formula solution will be preffered as then I can use it later in other ways after understanding what you have done

I saw the filter option in office 365 but I use excel 2013
 
Upvote 0
Or manually with a few mouse clicks.
if it can be done with a few clicks it is also OK but remember there are over 800 rows and of these we need to remove around 200. SO to prevent mistakes a formula will be more convinient
 
Upvote 0
a formula solution will be preffered

22 06 11.xlsm
ABCDEF
1selectnamename
2yesaa
3g
4r
5y
6yesg 
7yesr 
8yesy 
List
Cell Formulas
RangeFormula
F2:F8F2=IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW(B$2:B$1000)/(B$2:B$1000<>""),ROWS(F$2:F2))),"")
 
Upvote 0
Solution
if it can be done with a few clicks it is also OK
Select column B
Data ribbon tab -> Filter
Click the filter drop-down in B1 and uncheck Blanks -> OK
1654947601692.png


Select the columns of names -> Copy (Ctrl+C)
1654947688336.png


Move to the other sheet and Paste
1654947734084.png
 
Upvote 0
Alternatively :

Select column A
Home>editing>find&select>goto>special>blanks>OK
Right click and select Delete>entire row>OK
 
Upvote 0

Forum statistics

Threads
1,214,667
Messages
6,120,815
Members
448,990
Latest member
rohitsomani

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