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


I need to count the quantities relating to the code AA between two
dates.

I use

=SUMIF(Data!$E$4:$E$50000,"AA",Data!$BB$4:$BB$5000 0)

to count the quantities relating of AA where dates are not needed.

Also I have in the past used the

=SUMPRODUCT(('Rec Data'!$A$5:$A$209=Overall!$C$2)*('Rec
Data'!$A$5:$A$209<=Overall!$C$3)*('Rec Data'!$B$5:$B$209))

in another spreadsheet to total values between two dates.

I need to somehow incorporate the SUMIF into the end of the SUMPRODUCT
formula to only count quantities relating to AA between two dates
entered.

Anyone any ideas!

Rgds
Okanem


--
okanem
------------------------------------------------------------------------
okanem's Profile: http://www.excelforum.com/member.php...fo&userid=9301
View this thread: http://www.excelforum.com/showthread...hreadid=558123

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Counting between dates


=SUMPRODUCT(--('Rec Data'!$A$5:$A$209=Overall!$C$2),
--('Rec Data'!$A$5:$A$209<=Overall!$C$3),
--(Data!$E$4:$E$50000="AA"),'Rec Data'!$B$5:$B$209)


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"okanem" wrote in
message ...

I need to count the quantities relating to the code AA between two
dates.

I use

=SUMIF(Data!$E$4:$E$50000,"AA",Data!$BB$4:$BB$5000 0)

to count the quantities relating of AA where dates are not needed.

Also I have in the past used the

=SUMPRODUCT(('Rec Data'!$A$5:$A$209=Overall!$C$2)*('Rec
Data'!$A$5:$A$209<=Overall!$C$3)*('Rec Data'!$B$5:$B$209))

in another spreadsheet to total values between two dates.

I need to somehow incorporate the SUMIF into the end of the SUMPRODUCT
formula to only count quantities relating to AA between two dates
entered.

Anyone any ideas!

Rgds
Okanem


--
okanem
------------------------------------------------------------------------
okanem's Profile:

http://www.excelforum.com/member.php...fo&userid=9301
View this thread: http://www.excelforum.com/showthread...hreadid=558123



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


Bob, that worked perfectly

Thanks a million

Rgds
Okanem


--
okanem
------------------------------------------------------------------------
okanem's Profile: http://www.excelforum.com/member.php...fo&userid=9301
View this thread: http://www.excelforum.com/showthread...hreadid=558123

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
counting occasions dates occur between 2 dates hoyt New Users to Excel 5 June 16th 06 08:11 AM
Counting Dates PH NEWS Excel Worksheet Functions 2 February 21st 06 04:07 PM
Counting dates for a the present month but not future months BrianInCalifornia Excel Worksheet Functions 3 December 7th 05 02:00 AM
Counting occurences of a specific day between two dates coal_miner Excel Worksheet Functions 1 April 20th 05 03:37 PM
counting entries between two dates? Todd Excel Worksheet Functions 7 November 1st 04 11:07 PM


All times are GMT +1. The time now is 12:14 PM.

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"