Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ian Ian is offline
external usenet poster
 
Posts: 109
Default Using Autofilter to exclude dates

I'm working with data that has about 19,000 rows. The information is date
specific, and there are scores of rows for each date..
I was working with February data recently and was trying to use the
autofilter to exclude February 18 (President's Day) as in "Does not equal"
2/18/2008.

Much to my surprise it doesn't appear to work that way. It will exclude one
row of February data, but not all. I can use the "is less than" and "is
greater than" path, but it seems like a long way around. I thought I had used
the autofilter before to exclude all the rows of a specific date, but
apparently not. Any ideas out there?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Using Autofilter to exclude dates

Hmmm, it should work as you describe; I do this all the time and have
no problem.
Are your dates all stored as actual dates and not text?
I've just double-checked and it absolutely excludes 2/18/2008 when I
use "Does not equal 2/18" - note that the year is implied as the
current year and it will not hide 2/18/2007.
Please clarify.

On Jul 31, 1:15*pm, Ian wrote:
I'm working with data that has about 19,000 rows. The information is date
specific, and there are scores of rows for each date..
I was working with February data recently and was trying to use the
autofilter to exclude February 18 (President's Day) as in "Does not equal"
2/18/2008.

Much to my surprise it doesn't appear to work that way. It will exclude one
row of February data, but not all. I can use the "is less than" and "is
greater than" path, but it seems like a long way around. I thought I had used
the autofilter before to exclude all the rows of a specific date, but
apparently not. Any ideas out there?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ian Ian is offline
external usenet poster
 
Posts: 109
Default Using Autofilter to exclude dates

The column in questions references another column that is a date/time stamp.
When I first noticed problem I thought that might be the issue.

So the workflow I employed was: first I entered the string

"=text (G14, "mm/dd/yy"

which made the cell information text.Then I did a copy on the column, then
"paste special-values" sequence followed by reformatting the cells as dates.
That was the best way I could figure to eliminate the time portion of the
stamp.

I'm sure I've successfully excludedthis before without going through all of
that, but I'm just trying to eliminate possibilites at this point.



"Reitanos" wrote:

Hmmm, it should work as you describe; I do this all the time and have
no problem.
Are your dates all stored as actual dates and not text?
I've just double-checked and it absolutely excludes 2/18/2008 when I
use "Does not equal 2/18" - note that the year is implied as the
current year and it will not hide 2/18/2007.
Please clarify.

On Jul 31, 1:15 pm, Ian wrote:
I'm working with data that has about 19,000 rows. The information is date
specific, and there are scores of rows for each date..
I was working with February data recently and was trying to use the
autofilter to exclude February 18 (President's Day) as in "Does not equal"
2/18/2008.

Much to my surprise it doesn't appear to work that way. It will exclude one
row of February data, but not all. I can use the "is less than" and "is
greater than" path, but it seems like a long way around. I thought I had used
the autofilter before to exclude all the rows of a specific date, but
apparently not. Any ideas out there?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Using Autofilter to exclude dates

Wouldn't =MOD(G14,1) have done the job, if all you wanted to do was get rid
of the time portion?
--
David Biddulph

"Ian" wrote in message
...
The column in questions references another column that is a date/time
stamp.
When I first noticed problem I thought that might be the issue.

So the workflow I employed was: first I entered the string

"=text (G14, "mm/dd/yy"

which made the cell information text.Then I did a copy on the column, then
"paste special-values" sequence followed by reformatting the cells as
dates.
That was the best way I could figure to eliminate the time portion of the
stamp.

I'm sure I've successfully excludedthis before without going through all
of
that, but I'm just trying to eliminate possibilites at this point.



"Reitanos" wrote:

Hmmm, it should work as you describe; I do this all the time and have
no problem.
Are your dates all stored as actual dates and not text?
I've just double-checked and it absolutely excludes 2/18/2008 when I
use "Does not equal 2/18" - note that the year is implied as the
current year and it will not hide 2/18/2007.
Please clarify.

On Jul 31, 1:15 pm, Ian wrote:
I'm working with data that has about 19,000 rows. The information is
date
specific, and there are scores of rows for each date..
I was working with February data recently and was trying to use the
autofilter to exclude February 18 (President's Day) as in "Does not
equal"
2/18/2008.

Much to my surprise it doesn't appear to work that way. It will exclude
one
row of February data, but not all. I can use the "is less than" and "is
greater than" path, but it seems like a long way around. I thought I
had used
the autofilter before to exclude all the rows of a specific date, but
apparently not. Any ideas out there?





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ian Ian is offline
external usenet poster
 
Posts: 109
Default Using Autofilter to exclude dates

I tried that but it set the date to 1/0/1900.

"David Biddulph" wrote:

Wouldn't =MOD(G14,1) have done the job, if all you wanted to do was get rid
of the time portion?
--
David Biddulph

"Ian" wrote in message
...
The column in questions references another column that is a date/time
stamp.
When I first noticed problem I thought that might be the issue.

So the workflow I employed was: first I entered the string

"=text (G14, "mm/dd/yy"

which made the cell information text.Then I did a copy on the column, then
"paste special-values" sequence followed by reformatting the cells as
dates.
That was the best way I could figure to eliminate the time portion of the
stamp.

I'm sure I've successfully excludedthis before without going through all
of
that, but I'm just trying to eliminate possibilites at this point.



"Reitanos" wrote:

Hmmm, it should work as you describe; I do this all the time and have
no problem.
Are your dates all stored as actual dates and not text?
I've just double-checked and it absolutely excludes 2/18/2008 when I
use "Does not equal 2/18" - note that the year is implied as the
current year and it will not hide 2/18/2007.
Please clarify.

On Jul 31, 1:15 pm, Ian wrote:
I'm working with data that has about 19,000 rows. The information is
date
specific, and there are scores of rows for each date..
I was working with February data recently and was trying to use the
autofilter to exclude February 18 (President's Day) as in "Does not
equal"
2/18/2008.

Much to my surprise it doesn't appear to work that way. It will exclude
one
row of February data, but not all. I can use the "is less than" and "is
greater than" path, but it seems like a long way around. I thought I
had used
the autofilter before to exclude all the rows of a specific date, but
apparently not. Any ideas out there?







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Using Autofilter to exclude dates

Of course I got it wrong!
=MOD(G14,1) gives just the time.
=INT(G14) gives just the date part.
--
David Biddulph

"Ian" wrote in message
...
I tried that but it set the date to 1/0/1900.

"David Biddulph" wrote:

Wouldn't =MOD(G14,1) have done the job, if all you wanted to do was get
rid
of the time portion?
--
David Biddulph

"Ian" wrote in message
...
The column in questions references another column that is a date/time
stamp.
When I first noticed problem I thought that might be the issue.

So the workflow I employed was: first I entered the string

"=text (G14, "mm/dd/yy"

which made the cell information text.Then I did a copy on the column,
then
"paste special-values" sequence followed by reformatting the cells as
dates.
That was the best way I could figure to eliminate the time portion of
the
stamp.

I'm sure I've successfully excludedthis before without going through
all
of
that, but I'm just trying to eliminate possibilites at this point.



"Reitanos" wrote:

Hmmm, it should work as you describe; I do this all the time and have
no problem.
Are your dates all stored as actual dates and not text?
I've just double-checked and it absolutely excludes 2/18/2008 when I
use "Does not equal 2/18" - note that the year is implied as the
current year and it will not hide 2/18/2007.
Please clarify.

On Jul 31, 1:15 pm, Ian wrote:
I'm working with data that has about 19,000 rows. The information is
date
specific, and there are scores of rows for each date..
I was working with February data recently and was trying to use the
autofilter to exclude February 18 (President's Day) as in "Does not
equal"
2/18/2008.

Much to my surprise it doesn't appear to work that way. It will
exclude
one
row of February data, but not all. I can use the "is less than" and
"is
greater than" path, but it seems like a long way around. I thought I
had used
the autofilter before to exclude all the rows of a specific date,
but
apparently not. Any ideas out there?







  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Using Autofilter to exclude dates

Is there a reason that you're not just formatting it to LOOK
different?
Another way to get rid of the time is to use the TRUNC function to lop
it off.


On Jul 31, 3:20*pm, Ian wrote:
I tried that but it set the date to 1/0/1900.

"David Biddulph" wrote:
Wouldn't =MOD(G14,1) have done the job, if all you wanted to do was get rid
of the time portion?
--
David Biddulph


"Ian" wrote in message
...
The column in questions references another column that is a date/time
stamp.
When I first noticed problem I thought that might be the issue.


So the workflow I employed was: first I entered the string


"=text (G14, "mm/dd/yy"


which made the cell information text.Then I did a copy on the column, then
"paste special-values" sequence followed by reformatting the cells as
dates.
That was the best way I could figure to eliminate the time portion of the
stamp.


I'm sure I've successfully excludedthis before without going through all
of
that, but I'm just trying to eliminate possibilites at this point.


"Reitanos" wrote:


Hmmm, it should work as you describe; I do this all the time and have
no problem.
Are your dates all stored as actual dates and not text?
I've just double-checked and it absolutely excludes 2/18/2008 when I
use "Does not equal 2/18" - note that the year is implied as the
current year and it will not hide 2/18/2007.
Please clarify.


On Jul 31, 1:15 pm, Ian wrote:
I'm working with data that has about 19,000 rows. The information is
date
specific, and there are scores of rows for each date..
I was working with February data recently and was trying to use the
autofilter to exclude February 18 (President's Day) as in "Does not
equal"
2/18/2008.


Much to my surprise it doesn't appear to work that way. It will exclude
one
row of February data, but not all. I can use the "is less than" and "is
greater than" path, but it seems like a long way around. I thought I
had used
the autofilter before to exclude all the rows of a specific date, but
apparently not. Any ideas out there?


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 I exclude weekend dates Edward Chenderes Setting up and Configuration of Excel 2 March 2nd 21 04:58 PM
How do I Exclude a list of dates in a date calculation? Ryan Excel Worksheet Functions 2 June 11th 08 12:29 AM
Exclude dates from a sum formula SirMatthew Excel Worksheet Functions 3 April 9th 08 12:28 AM
filtering a list to exclude 2 different dates Sarah Excel Worksheet Functions 4 September 28th 07 07:34 PM
I need to exclude duplicate patient names for dates of service is. Shannon Excel Discussion (Misc queries) 2 April 11th 05 02:53 AM


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