Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Consolidating Lists on Information

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Consolidating Lists on Information

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" wrote in message
...
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
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
to link information between two lists Bklynhyc Excel Worksheet Functions 16 October 24th 09 12:40 AM
Consolidating information Cerberus Excel Discussion (Misc queries) 6 March 27th 08 06:09 PM
Consolidating text information wilma2299 Excel Discussion (Misc queries) 1 August 17th 07 01:55 AM
Consolidating information from one sheet to a list on another J Jenkins Excel Discussion (Misc queries) 1 July 7th 06 04:00 PM
Sorting information into lists Phil Excel Discussion (Misc queries) 2 May 29th 06 07:23 PM


All times are GMT +1. The time now is 04:20 AM.

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

About Us

"It's about Microsoft Excel"