#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default SUMPRODUCT

I need to calculate the total ($) collected between 8/17 & 8/24 if the value
of the cooresponding data in column N is "1". Here is the formual so far (for
the data collection between the specific dates):
=SUMPRODUCT(--([Book1]Sheet1!A5:A1000=DATEVALUE("8/17/2009")),--([Book1]Sheet1!A5:A1000<=DATEVALUE("8/24/2009")).
How do I modify the formula to only total the collections if N is "1"?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default SUMPRODUCT

Besides the criteria for column N, you also don't have the $ range you want
to total. In the formula below, I've assumed it's in column B, but you can
adjust as needed:

=SUMPRODUCT(--([Book1]Sheet1!A5:A1000=DATEVALUE("8/17/2009")),--([Book1]Sheet1!A5:A1000<=DATEVALUE("8/24/2009")),--([Book1]Sheet1!N5:N1000=1),[Book1]Sheet1!B5:B1000)


"Dhardy" wrote:

I need to calculate the total ($) collected between 8/17 & 8/24 if the value
of the cooresponding data in column N is "1". Here is the formual so far (for
the data collection between the specific dates):
=SUMPRODUCT(--([Book1]Sheet1!A5:A1000=DATEVALUE("8/17/2009")),--([Book1]Sheet1!A5:A1000<=DATEVALUE("8/24/2009")).
How do I modify the formula to only total the collections if N is "1"?

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
sumproduct [email protected] Excel Worksheet Functions 2 March 25th 09 12:47 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
HELP ON SUMPRODUCT() Eddy Stan Excel Worksheet Functions 4 April 17th 08 04:22 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
how to use sumproduct alias abuhasan Excel Worksheet Functions 1 November 15th 05 03:45 AM


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