Filter by year

N

Nightshade

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
 
K

Kevin B

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
 
C

CLR

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
 
C

CLR

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top