#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Filters

I have 3 columns of dates ( MM/DD/YYYY) from 2000 to say 2010. How do you
display ( filter) only the year 2000 ?? 2007 ?? etc.
Thanks,
Clint E.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Filters

If you're only filtering by a single column, you could use Custom and then
filter to show all the dates greater than or equal to January 1, 2000 AND less
than or equal to December 31, 2000.

If you wanted to see the rows where any of the fields was in 2000, then you
could insert a new column and fill it with a formula that looks like:

=((year(a2)=2000)+(year(b2)=2000)+(year(c2)=2000)) 0

This will return a true (if any of the years were in 2000) or false (if all the
years were not in 2000).

Then drag the formula down the rows you need and filter to show the True's.



Clint Eastwood wrote:

I have 3 columns of dates ( MM/DD/YYYY) from 2000 to say 2010. How do you
display ( filter) only the year 2000 ?? 2007 ?? etc.
Thanks,
Clint E.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Filters

Thanks Dave. Don't think I needed the "0" though.
Clint

"Dave Peterson" wrote:

If you're only filtering by a single column, you could use Custom and then
filter to show all the dates greater than or equal to January 1, 2000 AND less
than or equal to December 31, 2000.

If you wanted to see the rows where any of the fields was in 2000, then you
could insert a new column and fill it with a formula that looks like:

=((year(a2)=2000)+(year(b2)=2000)+(year(c2)=2000)) 0

This will return a true (if any of the years were in 2000) or false (if all the
years were not in 2000).

Then drag the formula down the rows you need and filter to show the True's.



Clint Eastwood wrote:

I have 3 columns of dates ( MM/DD/YYYY) from 2000 to say 2010. How do you
display ( filter) only the year 2000 ?? 2007 ?? etc.
Thanks,
Clint E.


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Filters

If you want to filter by true/false, you'd want the 0.

If you were going to filter by 0 or non-zero, you wouldn't need it.

Clint Eastwood wrote:

Thanks Dave. Don't think I needed the "0" though.
Clint

"Dave Peterson" wrote:

If you're only filtering by a single column, you could use Custom and then
filter to show all the dates greater than or equal to January 1, 2000 AND less
than or equal to December 31, 2000.

If you wanted to see the rows where any of the fields was in 2000, then you
could insert a new column and fill it with a formula that looks like:

=((year(a2)=2000)+(year(b2)=2000)+(year(c2)=2000)) 0

This will return a true (if any of the years were in 2000) or false (if all the
years were not in 2000).

Then drag the formula down the rows you need and filter to show the True's.



Clint Eastwood wrote:

I have 3 columns of dates ( MM/DD/YYYY) from 2000 to say 2010. How do you
display ( filter) only the year 2000 ?? 2007 ?? etc.
Thanks,
Clint E.


--

Dave Peterson


--

Dave Peterson
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 copy with filters but not copy the filters in the middle? ztalove Excel Discussion (Misc queries) 0 November 1st 06 04:53 PM
Using Filters Annie Excel Discussion (Misc queries) 2 September 29th 06 03:08 PM
Filters Hickeym Excel Discussion (Misc queries) 0 May 26th 06 04:08 PM
Filters, Subtotal & Intacted Results after the filters' Removal kasiopi Excel Discussion (Misc queries) 5 February 24th 06 12:18 PM
Filters AMD Excel Discussion (Misc queries) 2 January 9th 06 03:10 PM


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