Need help with some type of sum formula

Jiimmyd92

New Member
Joined
Mar 28, 2017
Messages
2
Hi All,

New to the forum and hoping that you all can help. Started working on something yesterday that I thought would be simple but has proven tricky. I need to sum the YTD total for a given line in an excel sheet. I am able to reference the condition and month number, but would need it to sum that month and previous months. Any help would be appreciated.

I am trying to write a formula that would allow me to reference condition 2 and sum YTD through month 3, which would give me a total of 150. Is this possible? I already tried a sumif and got a value error...

Thanks

123456789101112
Condition 1101010101010101010101010
Condition 2505050101010101010101010
Condition 3101010101010101010101010
Condition 4101010101010101010101010

<tbody>
</tbody>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try something like this


Excel 2010
ABCDEFGHIJKLM
1123456789101112
2Condition 1101010101010101010101010
3Condition 2505050101010101010101010
4Condition 3101010101010101010101010
5Condition 4101010101010101010101010
6
7
8Condition2
9Through Month3
10Sum150
Sheet1
Cell Formulas
RangeFormula
B10=SUMPRODUCT((A2:A5="Condition "&B8)*(B1:M1<=B9)*(B2:M5))
 
Upvote 0

Forum statistics

Threads
1,215,273
Messages
6,123,985
Members
449,137
Latest member
abdahsankhan

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