Sum based on date greater than and a specific status adding to a t

S

SusanG

Hi,
Trying to create a formula which will check the start date >= 01/01/2005 and
then check if a staus = complete and if these are both true then add 3rd
column (which contains a value) to an overall total.

Any help on getting this to work would be appreciated,
Thanks
 
D

David Biddulph

=SUMPRODUCT((YEAR(startdate)>=2005)*(status="complete")*value)
or
=SUMPRODUCT(--(YEAR(startdate)>=2005),--(status="complete"),value)
 
D

David Biddulph

=SUMPRODUCT((YEAR(startdate)>=2005)*(status="complete")*value)
or
=SUMPRODUCT(--(YEAR(startdate)>=2005),--(status="complete"),value)
 
D

Domenic

SusanG said:
Hi,
Trying to create a formula which will check the start date >= 01/01/2005 and
then check if a staus = complete and if these are both true then add 3rd
column (which contains a value) to an overall total.

Any help on getting this to work would be appreciated,
Thanks


Try...

=SUMPRODUCT(--(DateRange>="01/01/2005"+0),--(StatusRange="Complete"),Rang
eToSum)
 
D

Domenic

SusanG said:
Hi,
Trying to create a formula which will check the start date >= 01/01/2005 and
then check if a staus = complete and if these are both true then add 3rd
column (which contains a value) to an overall total.

Any help on getting this to work would be appreciated,
Thanks


Try...

=SUMPRODUCT(--(DateRange>="01/01/2005"+0),--(StatusRange="Complete"),Rang
eToSum)
 
J

Jacob Skaria

Assuming you have date in ColA, Status in Column B and value in ColC.
A1:A100 formated as date

=SUMPRODUCT(--(A1:A100>=DATE(2005,1,1)),--(B1:B100="Complete"),--(C1:C100))
 
J

Jacob Skaria

Assuming you have date in ColA, Status in Column B and value in ColC.
A1:A100 formated as date

=SUMPRODUCT(--(A1:A100>=DATE(2005,1,1)),--(B1:B100="Complete"),--(C1:C100))
 
S

SusanG

Many thanks, great help.
Susan

Jacob Skaria said:
Assuming you have date in ColA, Status in Column B and value in ColC.
A1:A100 formated as date

=SUMPRODUCT(--(A1:A100>=DATE(2005,1,1)),--(B1:B100="Complete"),--(C1:C100))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top