#1   Report Post  
Posted to microsoft.public.excel.misc
Lisa Childers
 
Posts: n/a
Default extracting data

I have found several postings similar to this but none that gave me my
answer. I have a worksheet containing several thousand rows. I want to copy
all those rows from worksheet 1 to worksheet 2 based on a yes/no criteria in
column 1. I have tried advanced filter but it appears that this must be used
within the same worksheet. (Not what I want) I also want that new worksheet
to update as the criteria changes from yes to no or vice versa and as new
rows are added to the first worksheet.

Any suggestions?

  #2   Report Post  
Posted to microsoft.public.excel.misc
PY & Associates
 
Posts: n/a
Default extracting data

We suggest you look into worksheet change event macro please

"Lisa Childers" wrote in message
...
I have found several postings similar to this but none that gave me my
answer. I have a worksheet containing several thousand rows. I want to

copy
all those rows from worksheet 1 to worksheet 2 based on a yes/no criteria

in
column 1. I have tried advanced filter but it appears that this must be

used
within the same worksheet. (Not what I want) I also want that new

worksheet
to update as the criteria changes from yes to no or vice versa and as new
rows are added to the first worksheet.

Any suggestions?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default extracting data

You can extract data to another sheet using the techniques shown at Debra
Dalgleish's site:
http://contextures.com/xladvfilter01.html#ExtractWs

Personally, I wouldn't make it as automatic as you suggest. Making a typing
mistake (and doing the copy) could make it very difficult to maintain your
data's integrity.

I'd try to keep the data on one sheet and use data|Filter|autofilter to show
just the rows I wanted to see. By having one location for the data, I won't
have multiple versions of the truth.

But if you must separate your data, you could use that same autofilter to show
just the rows you want and then copy those visible cells to where you want them.

If you want a macro, you could record one when you do it manually.

You may want to try Ron de Bruin's Easyfilter:
http://www.rondebruin.nl/easyfilter.htm

Or look at the way Debra Dalgleish does it:

Debra's site:
http://www.contextures.com/excelfiles.html

Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

Lisa Childers wrote:

I have found several postings similar to this but none that gave me my
answer. I have a worksheet containing several thousand rows. I want to copy
all those rows from worksheet 1 to worksheet 2 based on a yes/no criteria in
column 1. I have tried advanced filter but it appears that this must be used
within the same worksheet. (Not what I want) I also want that new worksheet
to update as the criteria changes from yes to no or vice versa and as new
rows are added to the first worksheet.

Any suggestions?


--

Dave Peterson
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
Pull data from another sheet based on certain criteria steve_sr2 Excel Discussion (Misc queries) 1 February 23rd 06 11:08 AM
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 09:09 AM
Extracting data from two columns Dan Excel Discussion (Misc queries) 4 October 5th 05 05:42 AM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 04:47 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 14th 05 12:33 AM


All times are GMT +1. The time now is 08: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"