#1   Report Post  
Galway
 
Posts: n/a
Default date function?

i have dates that i'm working with... for example...for one contact person i
might have 3 or 4 different dates...
column A column B
james 12/24/04
james 1/05/05
james 2/13/05
sue 12/3/04
sue 12/15/04
nick 12/5/04
nick 1//6/05
mary 12/01/04

what i need to do is identify contacts prior to 12/31/04 for those contacts
that have only dates 12/31 and before. Some of these contacts have both
dates in december '04 and for afterwards in '05. I need only the contacts
that have just 12/31 and before dates. But again some of the contacts that i
don't need have dates 12/31 and after....these are the ones i want to
eliminate. Is there any way that i can do this without separating just
12/31/04 because some of the ones I don't want have the december dates....i'm
sorry if i'm not making any sense... so with the above example... out of the
above, the only ones i want are "sue & mary" ... any suggestions?


  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

On column C type this formula
=SUM(--IF($A$2:$A$9=A2,$B$2:$B$9DATEVALUE("12/31/04")))
Array entered ( ctrl+shift+enter)

and copy is down your list

Then using filter hide everthing greater than zero
In your example it will leave sue and mary




"Galway" wrote in message
...
i have dates that i'm working with... for example...for one contact person
i
might have 3 or 4 different dates...
column A column B
james 12/24/04
james 1/05/05
james 2/13/05
sue 12/3/04
sue 12/15/04
nick 12/5/04
nick 1//6/05
mary 12/01/04

what i need to do is identify contacts prior to 12/31/04 for those
contacts
that have only dates 12/31 and before. Some of these contacts have both
dates in december '04 and for afterwards in '05. I need only the
contacts
that have just 12/31 and before dates. But again some of the contacts
that i
don't need have dates 12/31 and after....these are the ones i want to
eliminate. Is there any way that i can do this without separating just
12/31/04 because some of the ones I don't want have the december
dates....i'm
sorry if i'm not making any sense... so with the above example... out of
the
above, the only ones i want are "sue & mary" ... any suggestions?




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
Date function question John Day Excel Discussion (Misc queries) 3 March 9th 05 03:55 PM
Is there a function to show future date taxmom Excel Worksheet Functions 2 March 4th 05 09:23 PM
Date function geza Excel Worksheet Functions 2 February 11th 05 04:15 PM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM
Formula for date function Markitos Excel Worksheet Functions 15 November 10th 04 02:05 AM


All times are GMT +1. The time now is 01:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"