Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default finding if a date falls between two dates

Hi. I hope there's an answer to this problem:
N column is "Start Date",
O column is "End Date",
I have a named range "holidays" in U3:U9.

I need to find out if any of the "holidays" date fall within my Start Dates
and my End Dates, which vary from row to row.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default finding if a date falls between two dates

sorry that I posted this question 3x; I kept getting a failure to post message.

"JeanetteS" wrote:

Hi. I hope there's an answer to this problem:
N column is "Start Date",
O column is "End Date",
I have a named range "holidays" in U3:U9.

I need to find out if any of the "holidays" date fall within my Start Dates
and my End Dates, which vary from row to row.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default finding if a date falls between two dates

On Feb 10, 1:15*pm, JeanetteS
wrote:
N column is "Start Date",
O column is "End Date",
I have a named range "holidays" in U3:U9. *
I need to find out if any of the "holidays" date fall within my
Start Dates and my End Dates, which vary from row to row.


SUMPRODUCT((N2<=U3:U9)*(U3:U9<=O2)) returns the number of holidays
between the dates in N2 and O2. The following tells you if at least
one holiday is between those dates:

=if(sumproduct((N2<=U3:U9)*(U3:U9<=O2))=0,"none"," at least one")



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
Test if a date falls within a given range of dates in Excel? lindaledb Excel Worksheet Functions 7 September 10th 08 05:52 PM
Finding quantity that falls within a range or Tier Mimi Excel Worksheet Functions 3 July 12th 08 01:04 PM
return TRUE if a date falls between two dates christine b Excel Worksheet Functions 8 June 20th 07 10:19 PM
Finding whether a date falls between a certain category Johanna Gronlund Excel Worksheet Functions 1 April 18th 07 11:20 AM
How to find if a date falls between 2 dates JHL Excel Worksheet Functions 4 December 19th 05 05:46 PM


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