Sum with formula matriciale

Maurizio

Well-known Member
Hi all,
I have this DB:

nr article
9 CARR VENEZIA 12DL
3 CARR BOLOGNA 44E
13 UP CARR VENEZIA 48L
25 IR CARR PADOVA 25 R
2 CARR BOLOGNA 77U
1 ID CARR BOLOGNA 77R

How can I get with formula (matriciale) total?

TOTAL
6 BOLOGNA
22 VENEZIA

Tia.

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

MrExcel MVP
Hi all,
I have this DB:

nr article
9 CARR VENEZIA 12DL
3 CARR BOLOGNA 44E
13 UP CARR VENEZIA 48L
25 IR CARR PADOVA 25 R
2 CARR BOLOGNA 77U
1 ID CARR BOLOGNA 77R

How can I get with formula (matriciale) total?

TOTAL
6 BOLOGNA
22 VENEZIA

Tia.

Let A1:B8 house the data, the headers included.

Let E2:F4 house the prcosseing, with criteria in F2:F4.

E2:

1) control+shift+enter...

=SUM(IF(ISNUMBER(SEARCH(F2,\$B\$2:\$B\$8)),\$A\$2:\$A\$8)

2) alternatively, just enter...

=SUMPRODUCT(--ISNUMBER(SEARCH(F2,\$B\$2:\$B\$8)),\$A\$2:\$A\$8)

3) alternatively, just enter...

=SUMIF(\$B\$2:\$B\$8,"*"&F2&"*",\$A\$2:\$A\$8)

The latter is the most efficient to have.

Last edited:

Maurizio

Simply perfect!

MrExcel MVP
Simply perfect!

You are welcome. Thanks for the feedback Maurizio.

Replies
4
Views
182
Replies
2
Views
106
Replies
3
Views
118
Replies
0
Views
255
Replies
5
Views
119

1,196,008
Messages
6,012,836
Members
441,733
Latest member
MartijnB

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.

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

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