#1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Filter Dates?

Excel2003 ... I have a Col containing Dates ... Format = Date 03/14/01

I selected subject Col & added a Filter Switch to it ... intent of Filter
Switch is to Filter Months by selecting "custom" then "begins with" ... then
enter applicable Month (01, 02, 03, 04, etc).

Issue is ... when I do this the Filtered data shows nothing???

Above said ... I have had this issue before ... so guidance would be welcome
....

Thanks ... Kha
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Filter Dates?

the date may be formated as mm/dd/yy but it does not actually start with the
month
I suggest using a helper column with =month(A1) and use the autofilter on
this column.

"Ken" wrote:

Excel2003 ... I have a Col containing Dates ... Format = Date 03/14/01

I selected subject Col & added a Filter Switch to it ... intent of Filter
Switch is to Filter Months by selecting "custom" then "begins with" ... then
enter applicable Month (01, 02, 03, 04, etc).

Issue is ... when I do this the Filtered data shows nothing???

Above said ... I have had this issue before ... so guidance would be welcome
...

Thanks ... Kha

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Filter Dates?

My EasyFilter add-in have a option to filter on months without a helper column
See
http://www.rondebruin.nl/easyfilter.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"bj" wrote in message ...
the date may be formated as mm/dd/yy but it does not actually start with the
month
I suggest using a helper column with =month(A1) and use the autofilter on
this column.

"Ken" wrote:

Excel2003 ... I have a Col containing Dates ... Format = Date 03/14/01

I selected subject Col & added a Filter Switch to it ... intent of Filter
Switch is to Filter Months by selecting "custom" then "begins with" ... then
enter applicable Month (01, 02, 03, 04, etc).

Issue is ... when I do this the Filtered data shows nothing???

Above said ... I have had this issue before ... so guidance would be welcome
...

Thanks ... Kha

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Filter Dates?

Excel stores dates as serial numbers. 03/14/01 is actually stored as 36964.
This represents the number of days since Jan 1, 1900. So, when you try to
filter by using "begins with", Excel looks at the serial number.

To get around this, there are a couple options. First off, you could store
your dates as text rather than dates. This would help with the filtering,
but may cause problems elsewhere if these dates are used in calculations.

Another option would be to insert a helper column. In this column, use a
formula like =MONTH(A1) to retrieve the month from the date stored in A1.
You can then apply the filter to this helper column instead.

HTH,
Elkar


"Ken" wrote:

Excel2003 ... I have a Col containing Dates ... Format = Date 03/14/01

I selected subject Col & added a Filter Switch to it ... intent of Filter
Switch is to Filter Months by selecting "custom" then "begins with" ... then
enter applicable Month (01, 02, 03, 04, etc).

Issue is ... when I do this the Filtered data shows nothing???

Above said ... I have had this issue before ... so guidance would be welcome
...

Thanks ... Kha

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Filter Dates?

Ken

Dates are serial numbers like 39133 which is formatted to look like 02/20/2007
and you can't filter them as you want by entering 01, 02, 03 etc.

See this google thread for a method by Max.

http://snipurl.com/1atea


Gord Dibben MS Excel MVP

On Tue, 20 Feb 2007 12:43:00 -0800, Ken wrote:

Excel2003 ... I have a Col containing Dates ... Format = Date 03/14/01

I selected subject Col & added a Filter Switch to it ... intent of Filter
Switch is to Filter Months by selecting "custom" then "begins with" ... then
enter applicable Month (01, 02, 03, 04, etc).

Issue is ... when I do this the Filtered data shows nothing???

Above said ... I have had this issue before ... so guidance would be welcome
...

Thanks ... Kha




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 using dates Rusty Excel Discussion (Misc queries) 3 April 20th 17 05:11 PM
How to filter out all the partial dates from a big list of dates? Tiwarr Excel Discussion (Misc queries) 1 September 14th 06 05:35 PM
Filter dates by the day Chris AM Excel Discussion (Misc queries) 2 September 12th 06 05:16 PM
how to filter dates? abigail New Users to Excel 2 August 18th 05 12:45 AM
FILTER OUT DATES IN LIST Lisa Excel Worksheet Functions 1 January 31st 05 02:17 PM


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