Sum horizontal cells with calculation

victoria86

New Member
Joined
Jun 30, 2017
Messages
4
MonthDecJanJanJanJanFeb
Current Month14%100%100%100%57%100%
Next Month86%0%0%0%43%0%
Week Commencing31/12/201707/01/201814/01/201821/01/201828/01/201804/02/2018
Volume100200300400500600

<tbody>
</tbody>

Hi there

In the table above I would like to convert volume data by week into month. The first 3 rows are (hidden) formulae, the fourth row is fixed and the fifth is the input (both visible). So in another cell somewhere else in the sheet, I want the result to be 1271 for Jan i.e. (100*86%)+(200*100%)+(300*100%)+(400*100%)+(500*57%). I can only think of a way to do this by using extra calculation cells but wondered if there was a direct way?

Your help is much appreciated!

Thanks
Victoria
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
A couple of SUMPRODUCTs should see you through:


Book1
ABCDEFG
1MonthDecJanJanJanJanFeb
2Current Month14%100%100%100%57%100%
3Next Month86%0%0%0%43%0%
4Week Commencing31/12/201707/01/201814/01/201821/01/201828/01/201804/02/2018
5Volume100200300400500600
6
7Month1
8Result1271
Sheet2
Cell Formulas
RangeFormula
B8=SUMPRODUCT($B5:$G5,$B3:$G3,--($B1:$G1=TEXT(EOMONTH(DATE(2017,$B$7,1),-1),"mmm")))+SUMPRODUCT($B5:$G5,$B2:$G2,--($B1:$G1=TEXT(DATE(2017,$B$7,1),"mmm")))


WBD
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,684
Members
449,116
Latest member
HypnoFant

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