Sum of the absolute value of differences of to matrix

javierfbernal

New Member
Joined
Mar 2, 2013
Messages
2
Hi, I'm new here.
I would like to know if there is a formula or formulation that calculate the sum of the absolute differences of two matrix
A B C
1 5 3 2
2 7 4 1
3 -2 -1 1
So, the answers I'm looking for in this example is sum of 2+1+1=4
I hope someone could help me.
Thanks,
Javier Bernal
 
Not sure this is what you meant, but if you want to sum A3:C3

{=SUM(ABS(A3:C3))}

This is an array formula and must entered using Ctrl + Shift + Enter keys in combination
 
Upvote 0
Hi, I'm new here.
I would like to know if there is a formula or formulation that calculate the sum of the absolute differences of two matrix
A B C
1 5 3 2
2 7 4 1
3 -2 -1 1
So, the answers I'm looking for in this example is sum of 2+1+1=4
I hope someone could help me.
Thanks,
Javier Bernal
Excel Workbook
ABCD
15324
2741
Sheet1
 
Upvote 0
Sheet1

*ABCD
*

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]4[/TD]

[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]1[/TD]

</tbody>

Spreadsheet Formulas
CellFormula
D1=SUMPRODUCT(ABS(A1:C1-A2:C2))

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

It worked perfectly, thank you very much!
 
Upvote 0

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