Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

finding earliest date within a range by employee

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 19 Oct 2006 22:29 GMT
I am trying to find the earliest date that falls within date range that

matches an employees name. .    M$2 is today's date and N$2 contains a
date 3 years earlier.  "names" is the range of employees and
"accident_dates" contains the dates

When I use the array formula I created below, I get a blank cell even
though I know a corresponding value exists.

{=MIN(IF(Names=A3,Accident_dates))*((Accident_dates>N$2)*(Accident_dates<M$­2))}

Thanks for any help you can provide

Steve
Biff - 19 Oct 2006 23:07 GMT
Try this (array entered):

=MIN(IF((Names=A3)*(Accident_dates>N$2)*(Accident_dates<N$2),Accident_dates))

Are you sure you don't want to use: >= and <= ?

Biff

I am trying to find the earliest date that falls within date range that

matches an employees name. .    M$2 is today's date and N$2 contains a
date 3 years earlier.  "names" is the range of employees and
"accident_dates" contains the dates

When I use the array formula I created below, I get a blank cell even
though I know a corresponding value exists.

{=MIN(IF(Names=A3,Accident_dates))*((Accident_dates>N$2)*(Accident_dates<M$­2))}

Thanks for any help you can provide

Steve
Steve - 19 Oct 2006 23:17 GMT
Thanks Biff for the formula and the suggestion to <= and >=... works
well !

Steve

> Try this (array entered):
>
[quoted text clipped - 18 lines]
>
> Steve
Biff - 19 Oct 2006 23:34 GMT
You're welcome. Thanks for the feedback!

Biff

Thanks Biff for the formula and the suggestion to <= and >=... works
well !

Steve

Biff wrote:
> Try this (array entered):
>
[quoted text clipped - 18 lines]
>
> Steve
Don Guillett - 19 Oct 2006 23:19 GMT
=MIN(IF((names=A3)*(ad>n2)*(ad<m2),ad))

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

I am trying to find the earliest date that falls within date range that

matches an employees name. .    M$2 is today's date and N$2 contains a
date 3 years earlier.  "names" is the range of employees and
"accident_dates" contains the dates

When I use the array formula I created below, I get a blank cell even
though I know a corresponding value exists.

{=MIN(IF(Names=A3,Accident_dates))*((Accident_dates>N$2)*(Accident_dates<M$­2))}

Thanks for any help you can provide

Steve
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.