Sum results from 3 ranges of data - but not all names are in the 3 ranges

Marklarbear

Board Regular
Joined
Nov 6, 2003
Messages
119
Office Version
  1. 365
Platform
  1. Windows
Hi Brains Trust,

I'm having brain fog trying to work this one out.... I have 3 ranges of data where player results are recorded. What i'm trying to do is automatically sum the results from the 3 ranges in the bottom range (A22:I39).

But I only want to sum the results of those that are listed in the bottom range. How can I do this? I've highlighted yellow the names that are in the top 3 ranges that ARE NOT to be included in the sum range below.

1715832090002.png


Hope this makes sense.....
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try something like this.
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABAC
1
21st2nd3rd4th5thABC1st2nd3rd4th5thABC1st2nd3rd4th5thABC
3A455424431177420220429114L36380235451487395367386A22413643216945377158475
4B48270303496434443429243M218259126289425293170332B334401374170313128237140
5C181477382236218434294417N62464736132823147674C16072380433247355363264
6D51392143377156268248447O116262136238249284412336D27811247099283260180425
7E261271476262228324428488P49320012019141746241897E2537247570195474150101
8F3325399392442131459349Q173391125130198411482454F43844525087378211236337
9G185496422165359283185481R401140141165403312346416R217235353119151200442442
10H353309393262128465206164S14743031935124013734663S37646740913861317318151
11I483733622654517216770T26438674270333278495463T12037548531125939695353
12J335287141471441298323107U7717262205457416401260U31514023744360164148174
13
141st2nd3rd4th5thABC
15A679560863346873297587589
16B816471677666747571666383
17C341549762669465789657681
18D329504613476439528428872
19S523897728489301454664214
20T384761559581592674590816
Sheet3
Cell Formulas
RangeFormula
B15:I20B15=LET(v,VSTACK($A$3:$I$12,$K$3:$S$12,$U$3:$AC$12),f,FILTER(DROP(v,0,1),CHOOSECOLS(v,1)=A15),BYCOL(f,LAMBDA(bc,SUM(bc))))
Dynamic array formulas.
 
Upvote 0
Solution
Try something like this.
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABAC
1
21st2nd3rd4th5thABC1st2nd3rd4th5thABC1st2nd3rd4th5thABC
3A455424431177420220429114L36380235451487395367386A22413643216945377158475
4B48270303496434443429243M218259126289425293170332B334401374170313128237140
5C181477382236218434294417N62464736132823147674C16072380433247355363264
6D51392143377156268248447O116262136238249284412336D27811247099283260180425
7E261271476262228324428488P49320012019141746241897E2537247570195474150101
8F3325399392442131459349Q173391125130198411482454F43844525087378211236337
9G185496422165359283185481R401140141165403312346416R217235353119151200442442
10H353309393262128465206164S14743031935124013734663S37646740913861317318151
11I483733622654517216770T26438674270333278495463T12037548531125939695353
12J335287141471441298323107U7717262205457416401260U31514023744360164148174
13
141st2nd3rd4th5thABC
15A679560863346873297587589
16B816471677666747571666383
17C341549762669465789657681
18D329504613476439528428872
19S523897728489301454664214
20T384761559581592674590816
Sheet3
Cell Formulas
RangeFormula
B15:I20B15=LET(v,VSTACK($A$3:$I$12,$K$3:$S$12,$U$3:$AC$12),f,FILTER(DROP(v,0,1),CHOOSECOLS(v,1)=A15),BYCOL(f,LAMBDA(bc,SUM(bc))))
Dynamic array formulas.
That worked brilliantly - your a legend..... Thankyou :)
 
Upvote 0
Another option is
Excel Formula:
=SUMIFS(B$3:AC$12,$A$3:$AB$12,$A15)
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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