ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how can you sort a list to delete blank rows ? (https://www.excelbanter.com/excel-discussion-misc-queries/73455-how-can-you-sort-list-delete-blank-rows.html)

Irishimp23

how can you sort a list to delete blank rows ?
 
I have a list of employees in column A. In the columns following the names I
have x's in the appropriate options for them. Some of the rows do not contain
any x's and I would like to sort them where they are at the bottom ...so that
all of the names with the x's are grouped together. Any suggestions?

Gary''s Student

how can you sort a list to delete blank rows ?
 
Use a helper column and sort:

Let's say your x's are in columns B thru F, then in column G enter:

=IF(COUNTA(B1:F1)=0,0,1)

and copy down. Sort by column G descending.
--
Gary's Student


"Irishimp23" wrote:

I have a list of employees in column A. In the columns following the names I
have x's in the appropriate options for them. Some of the rows do not contain
any x's and I would like to sort them where they are at the bottom ...so that
all of the names with the x's are grouped together. Any suggestions?


Irishimp23

how can you sort a list to delete blank rows ?
 
Thank you so much... it really helped!

"Gary''s Student" wrote:

Use a helper column and sort:

Let's say your x's are in columns B thru F, then in column G enter:

=IF(COUNTA(B1:F1)=0,0,1)

and copy down. Sort by column G descending.
--
Gary's Student


"Irishimp23" wrote:

I have a list of employees in column A. In the columns following the names I
have x's in the appropriate options for them. Some of the rows do not contain
any x's and I would like to sort them where they are at the bottom ...so that
all of the names with the x's are grouped together. Any suggestions?


Gary''s Student

how can you sort a list to delete blank rows ?
 
You are very welcome
--
Gary's Student


"Irishimp23" wrote:

Thank you so much... it really helped!

"Gary''s Student" wrote:

Use a helper column and sort:

Let's say your x's are in columns B thru F, then in column G enter:

=IF(COUNTA(B1:F1)=0,0,1)

and copy down. Sort by column G descending.
--
Gary's Student


"Irishimp23" wrote:

I have a list of employees in column A. In the columns following the names I
have x's in the appropriate options for them. Some of the rows do not contain
any x's and I would like to sort them where they are at the bottom ...so that
all of the names with the x's are grouped together. Any suggestions?



All times are GMT +1. The time now is 04:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com