Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
gmr7
 
Posts: n/a
Default automatically filter out blanks in multiple columns

I have a spreadsheet with numerous columns (different job #'s), and under
uner job is a list of supplies needed. Is there any way to automatically
filter out blank cells of all the columns at the same time?

--
gmr7
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You could add a column to the table, and use it to count the number of
jobs that have an entry in that row.

For example, in cell M2, enter: =IF(COUNTA(B2:L2),"Yes","No")
Copy the formula down to the last row of data.
Then, filter column M for Yes or No.

gmr7 wrote:
I have a spreadsheet with numerous columns (different job #'s), and under
uner job is a list of supplies needed. Is there any way to automatically
filter out blank cells of all the columns at the same time?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
gmr7
 
Posts: n/a
Default

http://www.contextures.com/AdvFilterRepFiltered.xls

This macro is what I am looking for. However my sheet is based on 6-digit
job numbers (in lieu of "rep"). The macro works for the 1st run, but when I
change a job number or add a new job number, it is giving me an error

run-time error '9';
Subscript out of range

Any advice??

--
gmr7


"Debra Dalgleish" wrote:

You could add a column to the table, and use it to count the number of
jobs that have an entry in that row.

For example, in cell M2, enter: =IF(COUNTA(B2:L2),"Yes","No")
Copy the formula down to the last row of data.
Then, filter column M for Yes or No.

gmr7 wrote:
I have a spreadsheet with numerous columns (different job #'s), and under
uner job is a list of supplies needed. Is there any way to automatically
filter out blank cells of all the columns at the same time?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Way to put multiple rows into the same column. Peter Brown Excel Discussion (Misc queries) 3 March 31st 05 06:52 AM
how do I filter for 1 variable in multiple columns California Excel Worksheet Functions 1 March 18th 05 10:36 PM
same cell from multiple sheets into one column Kel Excel Discussion (Misc queries) 0 February 18th 05 12:53 AM
Column widths to adjust automatically? lambola Excel Discussion (Misc queries) 1 January 21st 05 12:35 AM
How can I sort an entire spreadsheet from a list prod sorter Excel Worksheet Functions 4 November 17th 04 03:43 AM


All times are GMT +1. The time now is 01:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"