Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ann ann is offline
external usenet poster
 
Posts: 210
Default count date ranges

look in column A for date between 5/19 and 5/22, for each, go to column B and
see if the date falls within the range of 5/19 and 5/22, and give a total of
the dates which are outside of these date ranges.
tia
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default count date ranges

One guess, maybe you meant something like this:
=SUMPRODUCT((A2:A10<"")*(B2:B10<""))-SUMPRODUCT((A2:A10=--"19May2008")*(A2:A10<=--"22May2008")*(B2:B10=--"19May2008")*(B2:B10<=--"22May2008"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Ann" wrote:
look in column A for date between 5/19 and 5/22, for each, go to column B and
see if the date falls within the range of 5/19 and 5/22, and give a total of
the dates which are outside of these date ranges.
tia

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ann ann is offline
external usenet poster
 
Posts: 210
Default count date ranges

i have this:
=SUMPRODUCT((I6:I402<"")*(M6:M402<""))-SUMPRODUCT((I6:I402=--A1)*(I6:I402<=--A2)*(M6:M402=--A1)*(M6:M402<=--A2))

this is giving me a much larger # than i expect. i want it to search M for
dates within 5/19 and 5/22, compare them to dates in I with the same dates,
and return a result, if the date in M date in I. apologies if i worded it
wrong.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default count date ranges

Can you upload your sample file/data using a free filehost,
post a link to it here

Eg, you could use this free filehost:
http://www.freefilehosting.net/

Copy the "direct link" generated after you upload,
then paste it here
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Ann" wrote in message
...
i have this:
=SUMPRODUCT((I6:I402<"")*(M6:M402<""))-SUMPRODUCT((I6:I402=--A1)*(I6:I402<=--A2)*(M6:M402=--A1)*(M6:M402<=--A2))

this is giving me a much larger # than i expect. i want it to search M
for
dates within 5/19 and 5/22, compare them to dates in I with the same
dates,
and return a result, if the date in M date in I. apologies if i worded
it
wrong.



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
Count age ranges James Excel Worksheet Functions 8 November 9th 07 08:04 PM
count age ranges Clash Excel Discussion (Misc queries) 3 June 13th 06 03:05 PM
count if in two ranges TUNGANA KURMA RAJU Excel Discussion (Misc queries) 0 October 8th 05 04:47 AM
count date ranges murtaza Excel Worksheet Functions 4 July 18th 05 04:29 PM
How do I count cells in a column of dates between date ranges? Andrew82 Excel Worksheet Functions 2 April 14th 05 09:59 AM


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