Sum with formula matriciale

Maurizio

Well-known Member
Joined
Oct 15, 2002
Messages
687
Office Version
  1. 2007
Platform
  1. Windows
Hi all,
I have this DB:

nr article
5 CARR PADOVA 48CR
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
30 PADOVA


Tia.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi all,
I have this DB:

nr article
5 CARR PADOVA 48CR
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
30 PADOVA


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:
Upvote 0

Forum statistics

Threads
1,214,780
Messages
6,121,527
Members
449,037
Latest member
tmmotairi

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