PC Review


Reply
Thread Tools Rate Thread

Automatically condense a field of data to eliminate blank lines

 
 
DonFlak@gmail.com
Guest
Posts: n/a
 
      3rd Apr 2008
I have a field of 30 lines by 3 columns. Based on other data on the
page none of the lines may have data while as many as 30 of the lines
may have data. the data all flows into other areas and into charts.

I need a way even if it means importing the data in to another
worksheet or cells, to condense the data to eliminate the blank lines
WITHOUT running a macro.

Example: I need:

A B C D
1 17642 1 78.44% TOTAL SALARIES & BENEFITS
2 468 4 2.08% 31 SUPPLIES
3
4 32 7 0.14% 33 SUPPLIES-ISSUED FROM INVENTORY
5 1160 3 5.16% 34 SERVICES
6
7
8
9
10
11
12
13 56 6 0.25% 3D TRAVEL OTHER THAN TRAINING
14
15
16
17 2692 2 11.97% 3H VEHICLE MAINTENANCE SERVICES
18
19 29 8 0.13% 3K CARFARE & TOLLS
20
21
22
23
24
25 411 5 1.83% 42 UTILITIES & HEATING FUEL
26
27
28
29
30


To turn into:

A B C D
1 17642 1 78.44% TOTAL SALARIES & BENEFITS
2 468 4 2.08% 31 SUPPLIES
3 32 7 0.14% 33 SUPPLIES-ISSUED FROM INVENTORY
4 1160 3 5.16% 34 SERVICES
5 56 6 0.25% 3D TRAVEL OTHER THAN TRAINING
6 2692 2 11.97% 3H VEHICLE MAINTENANCE SERVICES
7 29 8 0.13% 3K CARFARE & TOLLS
8 411 5 1.83% 42 UTILITIES & HEATING FUEL


I need this to occur automatically because it has to function for
novice users that won't even know how to do a sort.

 
Reply With Quote
 
 
 
 
Sam
Guest
Posts: n/a
 
      3rd Apr 2008
On Apr 3, 3:23*pm, DonF...@gmail.com wrote:
> I have a field of 30 lines by 3 columns. *Based on other data on the
> page none of the lines may have data while as many as 30 of the lines
> may have data. *the data all flows into other areas and into charts.
>
> I need a way even if it means importing the data in to another
> worksheet or cells, to condense the data to eliminate the blank lines
> WITHOUT running a macro.
>
> Example: *I need:
>
> * * * * A * * * B * * * C * * * D
> 1 * * * 17642 * 1 * * * 78.44% *TOTAL SALARIES & BENEFITS
> 2 * * * 468 * * 4 * * * 2.08% * 31 SUPPLIES
> 3
> 4 * * * 32 * * *7 * * * 0.14% * 33 SUPPLIES-ISSUED FROM INVENTORY
> 5 * * * 1160 * *3 * * * 5.16% * 34 SERVICES
> 6
> 7
> 8
> 9
> 10
> 11
> 12
> 13 * * *56 * * *6 * * * 0.25% * 3D TRAVEL OTHER THAN TRAINING
> 14
> 15
> 16
> 17 * * *2692 * *2 * * * 11.97% *3H VEHICLE MAINTENANCE SERVICES
> 18
> 19 * * *29 * * *8 * * * 0.13% * 3K CARFARE & TOLLS
> 20
> 21
> 22
> 23
> 24
> 25 * * *411 * * 5 * * * 1.83% * 42 UTILITIES & HEATING FUEL
> 26
> 27
> 28
> 29
> 30
>
> To turn into:
>
> * * * * A * * * B * * * C * * * D
> 1 * * * 17642 * 1 * * * 78.44% *TOTAL SALARIES & BENEFITS
> 2 * * * 468 * * 4 * * * 2.08% * 31 SUPPLIES
> 3 * * * 32 * * *7 * * * 0.14% * 33 SUPPLIES-ISSUED FROM INVENTORY
> 4 * * * 1160 * *3 * * * 5.16% * 34 SERVICES
> 5 * * * 56 * * *6 * * * 0.25% * 3D TRAVEL OTHER THAN TRAINING
> 6 * * * 2692 * *2 * * * 11.97% *3H VEHICLE MAINTENANCE SERVICES
> 7 * * * 29 * * *8 * * * 0.13% * 3K CARFARE & TOLLS
> 8 * * * 411 * * 5 * * * 1.83% * 42 UTILITIES & HEATING FUEL
>
> I need this to occur automatically because it has to function for
> novice users that won't even know how to do a sort.



Don:
I guess the easist way to do this would be to go to Data / Filter /
Autofilter. Make sure your cursor is on A1.
Then in the drop-down box of the auto-filter, select (Non Blanks), and
you will get ONLY those rows, which are non-blanks.

Regards,
S.
 
Reply With Quote
 
DonFlak@gmail.com
Guest
Posts: n/a
 
      4th Apr 2008
On Apr 3, 4:56*pm, Sam <carabine...@gmail.com> wrote:
> On Apr 3, 3:23*pm, DonF...@gmail.com wrote:
>
>
>
>
>
> > I have a field of 30 lines by 3 columns. *Based on other data on the
> > page none of the lines may have data while as many as 30 of the lines
> > may have data. *the data all flows into other areas and into charts.

>
> > I need a way even if it means importing the data in to another
> > worksheet or cells, to condense the data to eliminate the blank lines
> > WITHOUT running a macro.

>
> > Example: *I need:

>
> > * * * * A * * * B * * * C * * * D
> > 1 * * * 17642 * 1 * * * 78.44% *TOTAL SALARIES & BENEFITS
> > 2 * * * 468 * * 4 * * * 2.08% * 31 SUPPLIES
> > 3
> > 4 * * * 32 * * *7 * * * 0.14% * 33 SUPPLIES-ISSUED FROM INVENTORY
> > 5 * * * 1160 * *3 * * * 5.16% * 34 SERVICES
> > 6
> > 7
> > 8
> > 9
> > 10
> > 11
> > 12
> > 13 * * *56 * * *6 * * * 0.25% * 3D TRAVEL OTHER THANTRAINING
> > 14
> > 15
> > 16
> > 17 * * *2692 * *2 * * * 11.97% *3H VEHICLE MAINTENANCESERVICES
> > 18
> > 19 * * *29 * * *8 * * * 0.13% * 3K CARFARE & TOLLS
> > 20
> > 21
> > 22
> > 23
> > 24
> > 25 * * *411 * * 5 * * * 1.83% * 42 UTILITIES & HEATINGFUEL
> > 26
> > 27
> > 28
> > 29
> > 30

>
> > To turn into:

>
> > * * * * A * * * B * * * C * * * D
> > 1 * * * 17642 * 1 * * * 78.44% *TOTAL SALARIES & BENEFITS
> > 2 * * * 468 * * 4 * * * 2.08% * 31 SUPPLIES
> > 3 * * * 32 * * *7 * * * 0.14% * 33 SUPPLIES-ISSUED FROM INVENTORY
> > 4 * * * 1160 * *3 * * * 5.16% * 34 SERVICES
> > 5 * * * 56 * * *6 * * * 0.25% * 3D TRAVEL OTHER THANTRAINING
> > 6 * * * 2692 * *2 * * * 11.97% *3H VEHICLE MAINTENANCESERVICES
> > 7 * * * 29 * * *8 * * * 0.13% * 3K CARFARE & TOLLS
> > 8 * * * 411 * * 5 * * * 1.83% * 42 UTILITIES & HEATINGFUEL

>
> > I need this to occur automatically because it has to function for
> > novice users that won't even know how to do a sort.

>
> Don:
> I guess the easist way to do this would be to go to Data / Filter /
> Autofilter. Make sure your cursor is on A1.
> Then in the drop-down box of the auto-filter, select (Non Blanks), and
> you will get ONLY those rows, which are non-blanks.
>
> Regards,
> S.- Hide quoted text -
>
> - Show quoted text -


This won't work. It needs to be an automated process and this is only
a very small portion of a much larger spreadsheet. I can't apply a
process that would affect the remainder of the worksheet.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I automatically eliminate all blank lines from a word doc =?Utf-8?B?SlBSRU5ERVI=?= Microsoft Word Document Management 10 7th Mar 2006 07:50 PM
How to eliminate blank lines on a report? =?Utf-8?B?ZHdhbHNoNzc=?= Microsoft Access Reports 2 31st Jan 2006 03:53 PM
Eliminate blank lines =?Utf-8?B?TUpvVGhvbQ==?= Microsoft Access Reports 2 1st Aug 2005 08:51 PM
Eliminate blank lines =?Utf-8?B?RWxsZW4=?= Microsoft Access Reports 7 7th Jan 2005 11:05 PM
Re: Eliminate Printing Blank Lines John Vinson Microsoft Access Getting Started 0 26th Jun 2003 12:38 AM


Features
 

Advertising
 

Newsgroups
 


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