#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Filter by year

Hello,

I have a column of dates, and wish to filter them by year. I tried an auto
filter and did a custome filter of (ends in *2007) this didn't work. Any
ideas?

1/11/2007
16/3/2007
25/5/2007
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Filter by year

Somewhere to the right of your date column, create a Year column and use the
following formula to extract the year from your dates, substituing cell A2
for the starting cell of your date column:

=YEAR(A2)

Copy down as far as necessary and use the year column as your filter column

--
Kevin Backmann


"Nightshade" wrote:

Hello,

I have a column of dates, and wish to filter them by year. I tried an auto
filter and did a custome filter of (ends in *2007) this didn't work. Any
ideas?

1/11/2007
16/3/2007
25/5/2007

  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Filter by year

One way would be to use a helper column and pull out the year with something
like =YEAR(A2), copied down.........then filter on that column.

Vaya con Dios,
Chuck, CABGx3



"Nightshade" wrote:

Hello,

I have a column of dates, and wish to filter them by year. I tried an auto
filter and did a custome filter of (ends in *2007) this didn't work. Any
ideas?

1/11/2007
16/3/2007
25/5/2007

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Filter by year

try
Customgreater or = 39083 AND less than 39448

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Nightshade" wrote in message
...
Hello,

I have a column of dates, and wish to filter them by year. I tried an
auto
filter and did a custome filter of (ends in *2007) this didn't work. Any
ideas?

1/11/2007
16/3/2007
25/5/2007


  #5   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Filter by year

Another would be to convert the date-number to a TEXT value, with this
formula copied down a helper column, then you could do your "ends with" thing

=TEXT(A2,"dd/mm/yyyy")

Vaya con Dios,
Chuck, CABgx3



"CLR" wrote:

One way would be to use a helper column and pull out the year with something
like =YEAR(A2), copied down.........then filter on that column.

Vaya con Dios,
Chuck, CABGx3



"Nightshade" wrote:

Hello,

I have a column of dates, and wish to filter them by year. I tried an auto
filter and did a custome filter of (ends in *2007) this didn't work. Any
ideas?

1/11/2007
16/3/2007
25/5/2007



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Filter by year

Hi Nightshade

See also this add-in
No need for a helper column
http://www.rondebruin.nl/easyfilter.htm


--

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


"Nightshade" wrote in message ...
Hello,

I have a column of dates, and wish to filter them by year. I tried an auto
filter and did a custome filter of (ends in *2007) this didn't work. Any
ideas?

1/11/2007
16/3/2007
25/5/2007

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
Combination Graph with current year and prior year sales JanW Charts and Charting in Excel 2 April 5th 07 09:20 PM
how to calculate $1000/year at 5% for 25 years showing each year HELP! Setting up and Configuration of Excel 0 July 25th 06 12:58 AM
Months auto-filter with year twist yadaaa New Users to Excel 4 June 10th 06 02:45 PM
filter companies that does not perform a year Bram Excel Discussion (Misc queries) 4 October 11th 05 03:52 PM
How to compare current year to prior year in bar chart? substring Charts and Charting in Excel 4 May 12th 05 07:04 PM


All times are GMT +1. The time now is 01:15 PM.

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"