Sum/average a conditional sum

Dude

Board Regular
Joined
Jan 12, 2006
Messages
80
I have been looking through the forums searching for an example to a problem but can't find something that readily pertains.

I am using Excel 2003
I am looking for a sumif, sumproduct, sum(if( or whatever can interrogate 4 colums in a row and when all 4 columns fit the conditions perform a mathematical function on the value in the 4th column and sum the results for the entire table.
Ex.

Let
Column A = Purch or Fab
Column B = PO or SO
Column C = status (Late, early, on-time)
Column D = due date
________________________________A_____B____C________D_____
ex. I need for every row that has | Purch | PO | Late | 11/20/2010 | I need today()-D= 95

=IF(A=[true] AND B=[True] AND C=[True] AND D < Today() )

sum total # of days that all of the rows that evaluate to true are < today()
average total # of days that all of the rows that evaluate to true are < today()

I have been able to count the number of rows that meets the criteria but am unable to figure out how to then perform a mathematical function on 1 of the criteria and sum the results of the functions.

And, I can't add another column to do the sums that could then be totalled.
Perhaps I am over thinking it.
Help .......
 
Last edited:

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,224,590
Messages
6,179,761
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top