Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 231
Default filtering a list to exclude 2 different dates

I have a large data-base type spreadsheet where each line has a due date.

In 2 cells above the data, I have due dates that change every month, the
user types in the 2 due dates that change monthly.

I would need to filter the records to exclude these 2 dates.

The user should not have to create a filter himself, only change the dates.

Using auto-filter, the problem is that I cannot use "does not equal" with a
cell reference.

Using advanced filter, it does not recognise <(H5)

Any suggestions?

Many thanks
Sarah
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default filtering a list to exclude 2 different dates

Hi Sarah

It sounds as though the test should be <$H$2 or <$H$3 rather than the
formula you have

--
Regards
Roger Govier



"Sarah" wrote in message
...
I have a large data-base type spreadsheet where each line has a due date.

In 2 cells above the data, I have due dates that change every month, the
user types in the 2 due dates that change monthly.

I would need to filter the records to exclude these 2 dates.

The user should not have to create a filter himself, only change the
dates.

Using auto-filter, the problem is that I cannot use "does not equal" with
a
cell reference.

Using advanced filter, it does not recognise <(H5)

Any suggestions?

Many thanks
Sarah



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 231
Default filtering a list to exclude 2 different dates

hi Roger,

Thanks for your answer but the issue is not with a cell being locked or not,
and <$H$5 would anyway not exclude the date, it would take all those smaller
than.... but I wouldn't get the ones bigger than.... And I need both, i.e. I
need to exclude from a list of dates comprising of all dates possible in a
month, 2 dates, i.e. 10th September and 15th September, per ex. that would
be amendable.

My formula would refer to these 2 changing cells.

I'm stuck because auto-filter doesn't recognise cell references and advanced
filter doesn't recognise

Due Date
<$H$5

I tried an IF but when I put <H5 in the criteria, it returns #REF

Anybody has an idea how I can proceed?

Thanks

Sarah

"Roger Govier" wrote:

Hi Sarah

It sounds as though the test should be <$H$2 or <$H$3 rather than the
formula you have

--
Regards
Roger Govier



"Sarah" wrote in message
...
I have a large data-base type spreadsheet where each line has a due date.

In 2 cells above the data, I have due dates that change every month, the
user types in the 2 due dates that change monthly.

I would need to filter the records to exclude these 2 dates.

The user should not have to create a filter himself, only change the
dates.

Using auto-filter, the problem is that I cannot use "does not equal" with
a
cell reference.

Using advanced filter, it does not recognise <(H5)

Any suggestions?

Many thanks
Sarah




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default filtering a list to exclude 2 different dates

Hi Sarah

Advanced Filter will work.
In your criteria cell enter ="<"&H5
Lets say your criteria cells for the Advanced filter are M1:N2
Due Date Due Date
="<"&H5 ="<"&H6
Would filter the data and exclude values where the date equals the date in
H5 and the Date in H6

Change "<" to "" or "<" would allow you to filter for dates inclusive
within a range
--
Regards
Roger Govier



"Sarah" wrote in message
...
hi Roger,

Thanks for your answer but the issue is not with a cell being locked or
not,
and <$H$5 would anyway not exclude the date, it would take all those
smaller
than.... but I wouldn't get the ones bigger than.... And I need both, i.e.
I
need to exclude from a list of dates comprising of all dates possible in a
month, 2 dates, i.e. 10th September and 15th September, per ex. that
would
be amendable.

My formula would refer to these 2 changing cells.

I'm stuck because auto-filter doesn't recognise cell references and
advanced
filter doesn't recognise

Due Date
<$H$5

I tried an IF but when I put <H5 in the criteria, it returns #REF

Anybody has an idea how I can proceed?

Thanks

Sarah

"Roger Govier" wrote:

Hi Sarah

It sounds as though the test should be <$H$2 or <$H$3 rather than the
formula you have

--
Regards
Roger Govier



"Sarah" wrote in message
...
I have a large data-base type spreadsheet where each line has a due
date.

In 2 cells above the data, I have due dates that change every month,
the
user types in the 2 due dates that change monthly.

I would need to filter the records to exclude these 2 dates.

The user should not have to create a filter himself, only change the
dates.

Using auto-filter, the problem is that I cannot use "does not equal"
with
a
cell reference.

Using advanced filter, it does not recognise <(H5)

Any suggestions?

Many thanks
Sarah






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default filtering a list to exclude 2 different dates

Perhaps a helper column?

A1: Flag
A2: =IF(OR(B2=$H$5,B2=$H$6),"Skip","Show")
Copy A2 down as far as needed.

Then, with AutoFilter engaged
.....Click on the Flag dropdown, in A1, and select "Show".

All of the Skip rows will be hidden.

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Sarah" wrote in message
...
I have a large data-base type spreadsheet where each line has a due date.

In 2 cells above the data, I have due dates that change every month, the
user types in the 2 due dates that change monthly.

I would need to filter the records to exclude these 2 dates.

The user should not have to create a filter himself, only change the
dates.

Using auto-filter, the problem is that I cannot use "does not equal" with
a
cell reference.

Using advanced filter, it does not recognise <(H5)

Any suggestions?

Many thanks
Sarah





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
Excel auto filtering to find a range of dates in a list Candy Excel Discussion (Misc queries) 2 January 31st 06 02:32 PM
trouble filtering a list. Why isn't column filtering? Pat Excel Worksheet Functions 1 July 18th 05 03:30 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
Filtering a column to exclude any repeated entries. bay Excel Discussion (Misc queries) 2 January 27th 05 10:13 AM


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