ARRAY FORMULA FOR TOTAL

Maurizio

Well-known Member
Joined
Oct 15, 2002
Messages
687
Office Version
  1. 2007
Platform
  1. Windows
1.xls
ABCDEFG
1101012CODTOTAL
2101022100009
31020122000012
41020233000014
52010144000018
62020145000024
7202024
8301106WHATARRAYFORMULAISNESESSARY
9301128FORTOTAL?
10401016
11401026
12410016
13501018
14502018
15503018
Chiusura (2)
 
Hello: maurizio.rota

Just as a matter of interest, what was the solution that best fit your needs of the solutions offered/

pll
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
For me is:

=SUMPRODUCT((LEFT($A$1:$A$15)=LEFT(D2))+0,$B$1:$B$15)

by Aladin
 
Upvote 0
Hi, is there some real difference between "+0" and "*1":

=SUMPRODUCT((LEFT($A$1:$A$15)=LEFT(D2))+0,$B$1:$B$15)
=SUMPRODUCT((LEFT($A$1:$A$15)=LEFT(D2))*1,$B$1:$B$15)
 
Upvote 0
On 2002-10-23 13:18, maurizio.rota wrote:
Hi, is there some real difference between "+0" and "*1":

=SUMPRODUCT((LEFT($A$1:$A$15)=LEFT(D2))+0,$B$1:$B$15)
=SUMPRODUCT((LEFT($A$1:$A$15)=LEFT(D2))*1,$B$1:$B$15)

No, both coerce logical values into 1's and 0's, but +0 looks nicer (to me, that is).
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,537
Members
449,316
Latest member
sravya

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