#1   Report Post  
Marci
 
Posts: n/a
Default Filter by month

Can someone please tell me how I can filter the following data to show me
only specific months. For example, I want to find all data for the month of
Jan. Thank You.

Date
Jan-01
Feb-02
Apr-04
Jan-03
Jan-02

  #2   Report Post  
Norman Jones
 
Posts: n/a
Default

Hi Marci,

See Debra Dalgleish's instructions::

http://tinyurl.com/4c4mv


---
Regards,
Norman



"Marci" wrote in message
...
Can someone please tell me how I can filter the following data to show me
only specific months. For example, I want to find all data for the month
of
Jan. Thank You.

Date
Jan-01
Feb-02
Apr-04
Jan-03
Jan-02



  #3   Report Post  
William
 
Posts: n/a
Default

Hi Marci

Assuming your dates are in Column A, I would use a "helper" column. In an
unused column, say Column J.

In cell J1 enter the month number you want to filter on.
in cell J2, enter the formula =Month(A2)=$J$1 and copy that formula down as
far as you need.

Then filter on Column J using the criteria "True"

--
XL2002
Regards

William



"Marci" wrote in message
...
| Can someone please tell me how I can filter the following data to show me
| only specific months. For example, I want to find all data for the month
of
| Jan. Thank You.
|
| Date
| Jan-01
| Feb-02
| Apr-04
| Jan-03
| Jan-02
|


  #4   Report Post  
galimi
 
Posts: n/a
Default

Marci,

The following macro will copy all entries on a sheet from the month of
January to a newly created sheet

Sub onlymonth()
sheetadded = False
For Each cl In ActiveSheet.UsedRange.Cells
If Month(cl.Value) = 1 Then
'Add a sheet
If sheetadded = False Then
Set shtnew = Sheets.Add
sheetadded = True
End If

Set shtrng = shtnew.Cells(rowcounter + 1, 1)
rowcounter = rowcounter + 1

shtrng.Value = cl.Value

End If
Next


End Sub

http://ForPicks.com

"Marci" wrote:

Can someone please tell me how I can filter the following data to show me
only specific months. For example, I want to find all data for the month of
Jan. Thank You.

Date
Jan-01
Feb-02
Apr-04
Jan-03
Jan-02

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 Problems Brian Excel Discussion (Misc queries) 2 December 20th 04 06:31 PM
Advanced Filter: No Filter Evan Weiner - Richalnd WA Excel Discussion (Misc queries) 2 December 9th 04 04:36 PM
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
Filter changes upon reopening file! b1 Excel Discussion (Misc queries) 1 December 3rd 04 03:20 AM
Pivot Table - Group by Month - Show Items with no data Dan Reynolds Excel Discussion (Misc queries) 0 November 28th 04 01:01 AM


All times are GMT +1. The time now is 01:16 AM.

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"