PC Review


Reply
Thread Tools Rate Thread

Consolidating Lists on Information

 
 
=?Utf-8?B?UmFuZHkgQnJvd24=?=
Guest
Posts: n/a
 
      1st Nov 2006
I have a spreadsheet with a long list of data.

I would like to extract a subset of that data, based on criteria in other
columns. The results should go to another part of the spreadsheet, and need
to be "printable".

I can insert a macro that looks at the field and then copies the data, if
the criteria is met, but then I have a big gap in the results and the printed
report doesn't look good. I also have a problem if/when new entries are made
to the data.

I need a macro that can copy only the qualified data to the portion of the
sheet, with no gaps.

Data
xxxxxxxxxxxxxxxxxxxx aaa
xxxxxxxxxxxxxxxxxxxx aaa
xxxxxxxxxxxxxxxxxxxx aaa
xxxxxxxxxxxxxxxxxxxx bbb
xxxxxxxxxxxxxxxxxxxx aaa
xxxxxxxxxxxxxxxxxxxx cccc
xxxxxxxxxxxxxxxxxxxx bbb

Results should be

xxxxxxxxxxxxxxxxxxxx bbb
xxxxxxxxxxxxxxxxxxxx bbb

Am I explaining this right?
 
Reply With Quote
 
 
 
 
Nigel
Guest
Posts: n/a
 
      1st Nov 2006
If you apply an autofilter, then filter the rows required copy paste the
result to another sheet, that might do it? Most of the code to do this can
be recorded in a macro, then adjust the code to allow for the different
length of rows showing in the filtered sheet.



--
Cheers
Nigel



"Randy Brown" <(E-Mail Removed)> wrote in message
news:76AB19BB-558A-40EE-9B8D-(E-Mail Removed)...
>I have a spreadsheet with a long list of data.
>
> I would like to extract a subset of that data, based on criteria in other
> columns. The results should go to another part of the spreadsheet, and
> need
> to be "printable".
>
> I can insert a macro that looks at the field and then copies the data, if
> the criteria is met, but then I have a big gap in the results and the
> printed
> report doesn't look good. I also have a problem if/when new entries are
> made
> to the data.
>
> I need a macro that can copy only the qualified data to the portion of the
> sheet, with no gaps.
>
> Data
> xxxxxxxxxxxxxxxxxxxx aaa
> xxxxxxxxxxxxxxxxxxxx aaa
> xxxxxxxxxxxxxxxxxxxx aaa
> xxxxxxxxxxxxxxxxxxxx bbb
> xxxxxxxxxxxxxxxxxxxx aaa
> xxxxxxxxxxxxxxxxxxxx cccc
> xxxxxxxxxxxxxxxxxxxx bbb
>
> Results should be
>
> xxxxxxxxxxxxxxxxxxxx bbb
> xxxxxxxxxxxxxxxxxxxx bbb
>
> Am I explaining this right?



 
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
Consolidating information Cerberus Microsoft Excel Misc 6 27th Mar 2008 06:09 PM
Consolidating text information wilma2299 Microsoft Excel Misc 1 17th Aug 2007 01:55 AM
Consolidating Information donh Microsoft Excel Discussion 1 23rd Mar 2007 08:19 AM
consolidating overlapping lists in access Kevin.Gilnack@gmail.com Microsoft Access External Data 1 25th Jan 2007 09:47 PM
consolidating and lists =?Utf-8?B?cnVzcw==?= Microsoft Excel Misc 2 15th Dec 2003 08:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:37 AM.