PC Review


Reply
Thread Tools Rate Thread

Compressing Data in Sheet

 
 
Brian
Guest
Posts: n/a
 
      15th Nov 2006
Hi,
I have a sheet with several pieces of data arranged like so:

Column 1 Column 2

a.dll ! 0x000001234 56
a.dll ! 0x000001234 64
a.dll ! 0x000001234 72
b.dll ! 0x012345689 89
c.dll ! 0x012345890 100

How do I compress the repeated sets of say a.dll into one row with all
values pertaining to a.dll in column 2 summed up so to read something
like:

a.dll ! 0x0000001234 182
b.dll ! 0x012345689 89
etc


???

Thanks

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      15th Nov 2006
If the data is sorted by column A, you could add headers (in row 1) and then use
Data|subtotals.

Then use the outlining symbols to the left to hide the details.

Or you could add headers and then do data|Pivottable to get a nice summary
report. With pivottables, the data doesn't have to be sorted.

And if you've never use pivottables, here are a few links:

Debra Dalgleish's pictures at Jon Peltier's site:
http://peltiertech.com/Excel/Pivots/pivottables.htm
And Debra's own site:
http://www.contextures.com/xlPivot01.html

John Walkenbach also has some at:
http://j-walk.com/ss/excel/files/general.htm
(look for Tony Gwynn's Hit Database)

Chip Pearson keeps Harald Staff's notes at:
http://www.cpearson.com/excel/pivots.htm

MS has some at (xl2000 and xl2002):
http://office.microsoft.com/downloads/2000/XCrtPiv.aspx
http://office.microsoft.com/assistan...lconPT101.aspx

Brian wrote:
>
> Hi,
> I have a sheet with several pieces of data arranged like so:
>
> Column 1 Column 2
>
> a.dll ! 0x000001234 56
> a.dll ! 0x000001234 64
> a.dll ! 0x000001234 72
> b.dll ! 0x012345689 89
> c.dll ! 0x012345890 100
>
> How do I compress the repeated sets of say a.dll into one row with all
> values pertaining to a.dll in column 2 summed up so to read something
> like:
>
> a.dll ! 0x0000001234 182
> b.dll ! 0x012345689 89
> etc
>
> ???
>
> Thanks


--

Dave Peterson
 
Reply With Quote
 
Brian
Guest
Posts: n/a
 
      15th Nov 2006

Dave Peterson wrote:
> If the data is sorted by column A, you could add headers (in row 1) and then use
> Data|subtotals.
>
> Then use the outlining symbols to the left to hide the details.
>
> Or you could add headers and then do data|Pivottable to get a nice summary
> report. With pivottables, the data doesn't have to be sorted.
>
> And if you've never use pivottables, here are a few links:
>
> Debra Dalgleish's pictures at Jon Peltier's site:
> http://peltiertech.com/Excel/Pivots/pivottables.htm
> And Debra's own site:
> http://www.contextures.com/xlPivot01.html
>
> John Walkenbach also has some at:
> http://j-walk.com/ss/excel/files/general.htm
> (look for Tony Gwynn's Hit Database)
>
> Chip Pearson keeps Harald Staff's notes at:
> http://www.cpearson.com/excel/pivots.htm
>
> MS has some at (xl2000 and xl2002):
> http://office.microsoft.com/downloads/2000/XCrtPiv.aspx
> http://office.microsoft.com/assistan...lconPT101.aspx
>
> Brian wrote:
> >
> > Hi,
> > I have a sheet with several pieces of data arranged like so:
> >
> > Column 1 Column 2
> >
> > a.dll ! 0x000001234 56
> > a.dll ! 0x000001234 64
> > a.dll ! 0x000001234 72
> > b.dll ! 0x012345689 89
> > c.dll ! 0x012345890 100
> >
> > How do I compress the repeated sets of say a.dll into one row with all
> > values pertaining to a.dll in column 2 summed up so to read something
> > like:
> >
> > a.dll ! 0x0000001234 182
> > b.dll ! 0x012345689 89
> > etc
> >
> > ???
> >
> > Thanks

>
> --
>
> Dave Peterson


Ok, I used the subtotals function. But the annoying feature is this: If
I now have data in seperate columns like-


Test 1 Bytes Test 2 Bytes

a.dll 123 a.dll 124
a.dll 124 a.dll 123

If I perform subtotal on one of the columns, it creates an extra row on
the the other column. Is there a way I can mass-remove all blank rows
from my spreadsheet?

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      15th Nov 2006
Is this two questions?

#1. Nope. But I'd suggest that you put all your data in a single column.
It'll make life easier for further processing.

If the data has to be in different columns (some kind of segregation of
data???), I would add an indicator column to show the difference.

#2. If you can pick out a column that always has data in it when that row is
used, you can:

Select that column
edit|Goto|Special|Blanks
edit|Delete|entire row

This will delete the entire row.

Brian wrote:
<<snipped>>

> Ok, I used the subtotals function. But the annoying feature is this: If
> I now have data in seperate columns like-
>
> Test 1 Bytes Test 2 Bytes
>
> a.dll 123 a.dll 124
> a.dll 124 a.dll 123
>
> If I perform subtotal on one of the columns, it creates an extra row on
> the the other column. Is there a way I can mass-remove all blank rows
> from my spreadsheet?


--

Dave Peterson
 
Reply With Quote
 
Brian
Guest
Posts: n/a
 
      15th Nov 2006

Dave Peterson wrote:
> Is this two questions?
>
> #1. Nope. But I'd suggest that you put all your data in a single column.
> It'll make life easier for further processing.
>
> If the data has to be in different columns (some kind of segregation of
> data???), I would add an indicator column to show the difference.
>
> #2. If you can pick out a column that always has data in it when that row is
> used, you can:
>
> Select that column
> edit|Goto|Special|Blanks
> edit|Delete|entire row
>
> This will delete the entire row.
>
> Brian wrote:
> <<snipped>>
>
> > Ok, I used the subtotals function. But the annoying feature is this: If
> > I now have data in seperate columns like-
> >
> > Test 1 Bytes Test 2 Bytes
> >
> > a.dll 123 a.dll 124
> > a.dll 124 a.dll 123
> >
> > If I perform subtotal on one of the columns, it creates an extra row on
> > the the other column. Is there a way I can mass-remove all blank rows
> > from my spreadsheet?

>
> --
>
> Dave Peterson


Solution #2 worked. Thanks!

 
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
Compressing sparse data petej@cadence.com Microsoft Excel Discussion 4 2nd May 2008 07:08 AM
compressing data stored in a database Tarscher Microsoft C# .NET 6 20th Aug 2007 06:13 PM
Lost Data during Compressing and Restoration of DATABASE =?Utf-8?B?T25kxZllaiBOxJttZWM=?= Microsoft Access Getting Started 1 25th Aug 2006 08:03 PM
Compressing Data =?Utf-8?B?QmV0aDg5NjM=?= Microsoft Access 2 10th Jun 2005 06:18 PM
Compressing mail folders: how to retreive data Steve L Windows XP Help 1 8th Dec 2004 04:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:33 PM.