Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 846
Default Filter a List

I'm looking for some code to filter a list based on a calculated value. I
have a table of data like this.

Date Count
3/01/09 2
3/02/09 3
3/03/09 6
etc...

I have a userform that the user selects a calendar week (excel function
weeknum). Is there a way to filter this data using the excel function weeknum?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Filter a List

It's late in the eastern US now, but even if it wasn't I don't think I
understand what you want here. Could you add some more details? Before and
after? What sheet/cell does the UserForm link to? For instance, what do you
expect to see after the code fires?

Thanks,
Ryan--

--
RyGuy


"Brad" wrote:

I'm looking for some code to filter a list based on a calculated value. I
have a table of data like this.

Date Count
3/01/09 2
3/02/09 3
3/03/09 6
etc...

I have a userform that the user selects a calendar week (excel function
weeknum). Is there a way to filter this data using the excel function weeknum?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 846
Default Filter a List

The userform links to a table of data in excel on sheet1. I want the user to
be able to filter the list by the date column, but instead of using the date
it filters based on weeknum(date) so if the user selects calendar week 10,
then this list would only show 3/1/09 - 3/7/09.

Hope that explains better

"ryguy7272" wrote:

It's late in the eastern US now, but even if it wasn't I don't think I
understand what you want here. Could you add some more details? Before and
after? What sheet/cell does the UserForm link to? For instance, what do you
expect to see after the code fires?

Thanks,
Ryan--

--
RyGuy


"Brad" wrote:

I'm looking for some code to filter a list based on a calculated value. I
have a table of data like this.

Date Count
3/01/09 2
3/02/09 3
3/03/09 6
etc...

I have a userform that the user selects a calendar week (excel function
weeknum). Is there a way to filter this data using the excel function weeknum?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Filter a List

Hummmm, I don't think I've ever dealt with this, so I'm exactly sure how to
dandle it, but perhaps you can find a solutions from one of these links:
http://www.contextures.com/xladvfilter01.html
http://www.contextures.com/xlautofilter03.html

HTH,
Ryan---


--
RyGuy


"Brad" wrote:

The userform links to a table of data in excel on sheet1. I want the user to
be able to filter the list by the date column, but instead of using the date
it filters based on weeknum(date) so if the user selects calendar week 10,
then this list would only show 3/1/09 - 3/7/09.

Hope that explains better

"ryguy7272" wrote:

It's late in the eastern US now, but even if it wasn't I don't think I
understand what you want here. Could you add some more details? Before and
after? What sheet/cell does the UserForm link to? For instance, what do you
expect to see after the code fires?

Thanks,
Ryan--

--
RyGuy


"Brad" wrote:

I'm looking for some code to filter a list based on a calculated value. I
have a table of data like this.

Date Count
3/01/09 2
3/02/09 3
3/03/09 6
etc...

I have a userform that the user selects a calendar week (excel function
weeknum). Is there a way to filter this data using the excel function weeknum?

Thanks

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
How to I filter one list based on another list? Erlend Excel Discussion (Misc queries) 3 April 24th 23 09:08 AM
Formula (not adv. filter) to list unique values from list Brian Excel Worksheet Functions 3 May 12th 09 04:33 AM
filter: how to print filter list options in dropdown box help please Excel Discussion (Misc queries) 2 October 17th 07 01:53 AM
Filter the results of a list based on a previous vlookup against the same list Mizpah Excel Worksheet Functions 2 August 18th 06 10:28 AM
How to filter a 2nd list based on selection in 1st list. ImOk Excel Programming 1 July 19th 06 06:54 AM


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