help with a summary table

cmeredith1973

New Member
Joined
Apr 8, 2019
Messages
33
Office Version
  1. 365
Platform
  1. Windows
Hi - I have this data set. The total of 150.4 on the year to date, or the cost of coffee in 2021 was 150.4

However, the accountants want this expressed so that the sum of the months is 124.7 on the horizontal. and also totals on the vertical like the below. Is there some sort of crafty formula that will help calculate the sum on the vertical and the horizontal?

JanFebMarAprMayJunJulAugSepOctNovDecYTD
x
39.2​
27.1​
39.3​
55.0​
46.8​
24.1​
77.8​
28.0​
27.0​
16.2​
20.2​
17.1​
124.7​
y
75.4​
52.2​
37.2​
31.9​
27.1​
14.0​
41.2​
14.8​
14.3​
30.9​
25.4​
32.5​
16.0​
z
46.9​
32.5​
38.2​
43.3​
36.8​
18.9​
42.3​
15.2​
14.7​
34.2​
42.7​
36.0​
9.7​
Company
161.4​
111.8​
114.7​
130.3​
110.7​
57.0​
161.4​
58.0​
55.9​
81.3​
88.3​
85.6​
150.4​
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
If i understand correctly
SUM() would do that
on Row with an X
=SUM( B2:L2)
would give the 124.7, if thats what those values add up to
And then copy down row 2,3 & 4

For the total
=SUM(M2:M4)

I cant change the numbers from text in my spreadsheet copying your data , and dont have time to copy it all across
can you use XL2BB

But i suspect this is not what you mean
Book13
ABCDEFGHIJKLMN
1JanFebMarAprMayJunJulAugSepOctNovDecYTD
2X1611162126313641465156342
3Y33333333333336
4Z579111315171921232527192
5Company91623303744515865727986570
Sheet4
Cell Formulas
RangeFormula
N2:N4N2=SUM(B2:M2)
B5:N5B5=SUM(B2:B4)
 
Upvote 0
The question is not clear. Do you want the months to add to the total or do you a correct total?
a guess
Your data is like the following
Select the B15:N18
then click on Aut0Sum icon

T202202a.xlsm
ABCDEFGHIJKLMN
14JanFebMarAprMayJunJulAugSepOctNovDecYTD
15x11.708.0911.7316.4213.977.1923.228.368.064.846.035.09
16y3.042.101.501.291.090.561.660.600.581.251.021.31
17z1.130.780.921.050.890.461.020.370.350.831.030.87
18Company
3a


AutoSum yields
T202202a.xlsm
ABCDEFGHIJKLMN
14JanFebMarAprMayJunJulAugSepOctNovDecYTD
15x11.708.0911.7316.4213.977.1923.228.368.064.846.035.09124.70
16y3.042.101.501.291.090.561.660.600.581.251.021.3116.00
17z1.130.780.921.050.890.461.020.370.350.831.030.879.70
18Company15.8710.9714.1518.7615.958.2125.909.338.996.928.087.27150.40
19
3a
Cell Formulas
RangeFormula
N15:N18N15=SUM(B15:M15)
B18:M18B18=SUM(B15:B17)
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,409
Members
448,959
Latest member
camelliaCase

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