SumProduct Excel 2010

fasullo

New Member
Joined
Aug 7, 2013
Messages
27
Hi,
I have a complex sum problem. Excel located here: https://dl.dropboxusercontent.com/u/52990313/sum product.xlsx

Column A is the # of months
Row 1 are monthly dates starting in B1 from 9/30/12 on...
from B2:BA9 are the numbers to sum

Here is the goal of the formula:
1) Has to start adding only when a positive number is in a cell. Otherwise, you start adding #s on 11/30/12 (D2) greater than 12 mo, but the contract did not start until 12/31/12 (E2)

2) Only want to look at months > 12 in column A

3) Want it to look across row 1 to start a sum for 12+ months from current month
Thinking for Dec 2012 ? (E$1:BA1>DATE(YEAR(E$1)+1,MONTH(E$1),DAY(E$1)))

really appreciate it !
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Try this:

Array formula - use Ctrl+Shift+Enter and not only Enter to enter the formula

Code:
E11-> =SUM(IF($A$2:$A$9>12,IF($B$1:$BA$1>=EDATE(E$1,12),(E$2:E$9>0)*$B$2:$BA$9)))


Markmzz
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,684
Members
448,977
Latest member
dbonilla0331

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