Calculate numbers inside a matrix containing missing cells based on sum of columns and rows

annachiara12

New Member
Joined
Sep 4, 2017
Messages
4
Dear all,
I have the following matrix

A
B
C
D
E
F
G
sum2
13745
210629
35442
414089
59204
634842
72099
810913
929621
1022181
1123427
123724
138055
1445033
sum1
781814569830201217943355784255148223004

<colgroup><col style="width:48pt" width="64" span="9"> </colgroup><tbody>
</tbody>

where the letters are fishing gears and the numbers are regions. I would like to find the numbers inside the matrix as is:

A
B
C
D
E
F
G
sum2
1115414349512063745
229036334111427810629
333733672058646335442
434326102151403237214089
542238139649369204
6162808464220318404042105695734842
715943251802099
831093254379375710913
98693611111544295631729621
10473714881962160122181
114894149362342125523427
12107448763215313724
133049377712298055
14196661306993965333398419145033
sum1
781814569830201217943355784255148223004

<colgroup><col style="width:48pt" width="64" span="9"> </colgroup><tbody>
</tbody>

using the following formula
=IF(ISBLANK(A1),"", ((sum2$1*$sum1A)/$sum2$sum1))

This formula works but somehow this equation still thinks there are 7 full columns and 14 rows and therefore the sum of it is not correct (see below)

A
B
C
D
E
F
G
sum2
113135075641412525
23726143915994027167
319087375328192064201
4493919081377212053210877
53227124613853486206
6122157140471934055243131680434842
77362053161257
838261478106716428012
910385607028954457111924926
10777645452168333817827
11821348012290352518828
1213065043645602734
13282412123044340
14157889228609967761701104040632
sum1
781813178418638143013355760701844184375

<colgroup><col><col><col span="4"><col span="2"><col></colgroup><tbody>
</tbody>

Any tips?
thank you
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,215,799
Messages
6,126,975
Members
449,351
Latest member
Sylvine

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