#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Advanced Filter

Thank you to anyone who can help.

I have three worksheets. In the first worksheet I have my source data, and
one of the data fields indicates if the data goes into bucket 1 or bucket 2.
For example, lets say the list is people on a bus, and the field indicates if
the people go onto bus 1 or bus 2. I want the second worksheet to be a list
of only the people on bus 1, and the third worksheet to be the people only on
bus 2. I can do this with the advanced filter option. My problem is that if I
change the original data on worksheet 1 (lets say switch someone from bus 1
to bus 2 in the original data), I don't know how to get the lists in
worksheet 2 and 3 to automatically update with this new information.

Is there a better way of doing this other than with the advanced filter?

Thank you
Mark
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Advanced Filter

If you are familiar with macros then
1. Record a macro while performing the steps for Advance Filter
2. Put the code for the recorded macro in the Private Sub Worksheet_Activate()
event of sheet2 and sheet3 after necessary adjustments.

Since you have to do advance filter on the same sheet, you will have to cut
and paste that data to the other sheet while recording the macro...

This way when a user opens sheet2 or sheet3 she will get the latest data in
that sheet...


"mottawa" wrote:

Thank you to anyone who can help.

I have three worksheets. In the first worksheet I have my source data, and
one of the data fields indicates if the data goes into bucket 1 or bucket 2.
For example, lets say the list is people on a bus, and the field indicates if
the people go onto bus 1 or bus 2. I want the second worksheet to be a list
of only the people on bus 1, and the third worksheet to be the people only on
bus 2. I can do this with the advanced filter option. My problem is that if I
change the original data on worksheet 1 (lets say switch someone from bus 1
to bus 2 in the original data), I don't know how to get the lists in
worksheet 2 and 3 to automatically update with this new information.

Is there a better way of doing this other than with the advanced filter?

Thank you
Mark

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
Advanced Filter - filter rows < jaws4518 Excel Discussion (Misc queries) 3 November 1st 06 05:48 PM
Why won't advanced filter return filter results? jaws4518 Excel Worksheet Functions 5 September 12th 06 06:11 PM
How do I use advanced filter to filter for blank cells? Monique Excel Discussion (Misc queries) 2 March 21st 06 06:43 PM
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM
advanced filter won't allow me to filter on bracketed text (-456.2 LucianoG Excel Discussion (Misc queries) 1 December 6th 04 08:38 PM


All times are GMT +1. The time now is 05:45 PM.

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

About Us

"It's about Microsoft Excel"