Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Occurences between 2 dates

I have a start and end date on one sheet, another sheet with a list of dates
in the month.
I need to know how many instances the item was active on a given date
such as
1/1/09 - 5
1/3/09 - 4
1/6/09 - 1
Start End
1/1/2009 1/2/2009
1/1/2009 1/3/2009
1/1/2009 1/6/2009
1/1/2009 1/5/2009
1/1/2009 1/3/2009

Thanks Bernie
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Occurences between 2 dates

=SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1))

--
__________________________________
HTH

Bob

"Bernie" wrote in message
...
I have a start and end date on one sheet, another sheet with a list of
dates
in the month.
I need to know how many instances the item was active on a given date
such as
1/1/09 - 5
1/3/09 - 4
1/6/09 - 1
Start End
1/1/2009 1/2/2009
1/1/2009 1/3/2009
1/1/2009 1/6/2009
1/1/2009 1/5/2009
1/1/2009 1/3/2009

Thanks Bernie



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Occurences between 2 dates

Thanks Bob
Now I need to find the euiqvalent in Access

"Bob Phillips" wrote:

=SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1))

--
__________________________________
HTH

Bob

"Bernie" wrote in message
...
I have a start and end date on one sheet, another sheet with a list of
dates
in the month.
I need to know how many instances the item was active on a given date
such as
1/1/09 - 5
1/3/09 - 4
1/6/09 - 1
Start End
1/1/2009 1/2/2009
1/1/2009 1/3/2009
1/1/2009 1/6/2009
1/1/2009 1/5/2009
1/1/2009 1/3/2009

Thanks Bernie




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Occurences between 2 dates

Is it possible to add another dimension to the instances per date, can a
filter of another column with citeria of say "Airbus"
Start End Fleet
1/1/2009 1/2/2009 767
1/1/2009 1/3/2009 Airbus
1/1/2009 1/6/2009 767
1/1/2009 1/5/2009 Airbus
1/1/2009 1/3/2009 Airbus

So I'd like to filter on "Airbus" using the
SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1))


"Bernie" wrote:

Thanks Bob
Now I need to find the euiqvalent in Access

"Bob Phillips" wrote:

=SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1))

--
__________________________________
HTH

Bob

"Bernie" wrote in message
...
I have a start and end date on one sheet, another sheet with a list of
dates
in the month.
I need to know how many instances the item was active on a given date
such as
1/1/09 - 5
1/3/09 - 4
1/6/09 - 1
Start End
1/1/2009 1/2/2009
1/1/2009 1/3/2009
1/1/2009 1/6/2009
1/1/2009 1/5/2009
1/1/2009 1/3/2009

Thanks Bernie




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Occurences between 2 dates

=SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1),--(Sheet1$C$1:$C$10="Airbus"))


--
__________________________________
HTH

Bob

"Bernie" wrote in message
...
Is it possible to add another dimension to the instances per date, can a
filter of another column with citeria of say "Airbus"
Start End Fleet
1/1/2009 1/2/2009 767
1/1/2009 1/3/2009 Airbus
1/1/2009 1/6/2009 767
1/1/2009 1/5/2009 Airbus
1/1/2009 1/3/2009 Airbus

So I'd like to filter on "Airbus" using the
SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1))


"Bernie" wrote:

Thanks Bob
Now I need to find the euiqvalent in Access

"Bob Phillips" wrote:

=SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1))

--
__________________________________
HTH

Bob

"Bernie" wrote in message
...
I have a start and end date on one sheet, another sheet with a list of
dates
in the month.
I need to know how many instances the item was active on a given
date
such as
1/1/09 - 5
1/3/09 - 4
1/6/09 - 1
Start End
1/1/2009 1/2/2009
1/1/2009 1/3/2009
1/1/2009 1/6/2009
1/1/2009 1/5/2009
1/1/2009 1/3/2009

Thanks Bernie







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Occurences between 2 dates

Thanks Bob
That was dahhhhhh on my part, referencec the wrong sheet
Thanks again

"Bob Phillips" wrote:

=SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1),--(Sheet1$C$1:$C$10="Airbus"))


--
__________________________________
HTH

Bob

"Bernie" wrote in message
...
Is it possible to add another dimension to the instances per date, can a
filter of another column with citeria of say "Airbus"
Start End Fleet
1/1/2009 1/2/2009 767
1/1/2009 1/3/2009 Airbus
1/1/2009 1/6/2009 767
1/1/2009 1/5/2009 Airbus
1/1/2009 1/3/2009 Airbus

So I'd like to filter on "Airbus" using the
SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1))


"Bernie" wrote:

Thanks Bob
Now I need to find the euiqvalent in Access

"Bob Phillips" wrote:

=SUMPRODUCT(--(Sheet1!$A$1:$A$10<=A1),--(Sheet1!$B$1:$B$10=A1))

--
__________________________________
HTH

Bob

"Bernie" wrote in message
...
I have a start and end date on one sheet, another sheet with a list of
dates
in the month.
I need to know how many instances the item was active on a given
date
such as
1/1/09 - 5
1/3/09 - 4
1/6/09 - 1
Start End
1/1/2009 1/2/2009
1/1/2009 1/3/2009
1/1/2009 1/6/2009
1/1/2009 1/5/2009
1/1/2009 1/3/2009

Thanks Bernie






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
I want to count occurences between 2 dates. tartanspice Excel Worksheet Functions 4 October 8th 08 09:35 PM
Counting Occurences Between Dates Blddrgn700 Excel Worksheet Functions 6 October 22nd 07 11:43 PM
Counting occurences of a specific day between two dates coal_miner Excel Worksheet Functions 1 April 20th 05 03:37 PM
Count occurences between dates DJ Dusty Excel Worksheet Functions 0 November 11th 04 09:02 PM
Count occurences between dates DJ Dusty Excel Worksheet Functions 3 November 11th 04 12:25 AM


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