Adding up Denominators across multiple cells

MidnightTim

New Member
Joined
Oct 18, 2020
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello Everyone,
I don't fancy myself to be an excel Guru but I am usually pretty crafty when. I'm working on a spreadsheet and I'm trying to add up all the denominators across multiple cells in a row.

The formula I'm using is
Excel Formula:
=SUMPRODUCT(--(RIGHT(0&J2:BY2,FIND("/",0&J2:BY2)-2)))



This works if the denominator is 2 digits but not if it's 1 digit. If the cell is 10/10 or or 9/10 or 15/20 it counts with no problem. If the cell is 1/9 8/9 etc it doesn't count. Making any changes to the -2 in the code just breaks the formula.


I do not seem to be able to attach my spreadsheet to this post. :(
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Welcome to MrExcel,

You cannot attached a spreadsheet but you an use XL2BB to show the body of a sheet and your example(s).
 
Upvote 0
Is it correct that you want a single formula, if possible, and no VBA or no helper rows?
 
Upvote 0
Yea. I'm just trying to do it with a formula. Not looking to get too crazy with VBA or anything if it can be helped. This is what I'm trying to work with.

I hope this helps.
raidatt.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAW
1Character ?ATT%Att. by PullMissed DaysTotal VisitedTotal Guild RaidsEncounters SeenTotal Player EncountersTotal Guild Encounters16/1013/1//9/1//6/1//2/1/29//925//922//918//915//911//9/8//9/4//9/1//928//825//821//818//817//814//811//8/7//831//728//724//721//717//714//71///7/7//7/3//73///626//623//619//616//612//6/9//6/5//6/2//6
2Traumst100.0099.74068687587607608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
3Serokin100.0099.51068687587608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1013/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
4Killrock100.0099.35068687577608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
5Devìlz100.0099.02068687557608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/197/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
6Valorina100.0098.70068687537608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1013/149/918/1811/116/619/1910/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
7Choufrisé97.0197.72266687317608/818/1810/1012/120/018/1811/1118/1810/1016/219/911/1110/1014/149/917/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
8Notahippo98.5197.07167687437608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/115/1014/149/918/1811/116/619/1911/1119/198/818/180/08/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
9Metzbower98.5196.75167687207608/818/1810/1012/120/018/1811/1118/1810/1011/219/911/119/1013/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/81/1110/1010/1013/1310/109/910/108/810/1012/1211/11
10Nalyah100.0096.10068687377608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/61/1911/1119/198/818/189/98/810/108/87/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
12Quarkk97.0195.45266687337608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/90/011/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
13Ilama97.0195.45266687327607/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
14Angrypeøn97.0193.17266687187608/818/1810/1012/1211/1118/1811/1118/1810/1018/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/80/00/08/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
15Twiste95.5292.85365687117608/818/1810/1012/1211/1118/1811/1118/1810/1015/219/911/110/1013/149/918/1811/116/619/1911/1119/198/818/189/98/80/08/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
16Loadofbull95.5292.68365687117608/818/1810/1012/1211/1118/1811/1118/1810/1016/219/911/1110/1014/149/918/1811/116/60/011/1119/198/818/189/98/810/108/810/107/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
17Drakotah94.0392.36464687147608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
18Guncy92.5491.54563686887608/818/1810/100/011/1118/1811/1118/1810/1021/210/00/010/1014/149/918/1811/116/619/1911/110/08/818/189/98/810/108/82/108/811/1110/1010/1012/1310/109/910/108/810/1012/1211/11
19Niloman94.0391.38464687087608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/99/1110/1014/149/918/1811/116/617/1911/1119/198/80/09/90/010/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
20Iggdrasyl91.0489.27662686957608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
21Zappster88.0688.13860686677608/818/180/012/1211/1118/180/018/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/190/00/00/08/810/108/810/108/811/1110/1010/100/010/109/910/108/810/1012/1211/11
22Hassenpus91.0487.80662686767608/88/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
23Wolfbiter86.5786.34959686417608/80/010/1012/1211/1118/1811/110/010/1021/219/911/1110/1014/149/918/180/06/60/011/1119/198/818/180/08/810/108/810/108/811/1110/1010/1013/1310/109/910/108/80/012/1211/11
24Latuss89.5585.85761686747608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
25Thoragdar89.5583.25761686587608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/104/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
26Jherico88.0680.00860686037608/88/1810/1012/1211/118/1811/118/1810/1016/219/910/119/100/09/90/011/116/68/1911/1119/198/814/180/08/80/08/80/08/81/1110/100/013/130/09/90/08/810/1012/1211/11
27Jessla83.5879.351157685817608/80/00/012/1211/118/1811/118/1810/1016/219/90/00/00/09/90/011/116/619/1911/1119/198/818/189/98/83/108/80/08/88/1110/1010/1013/1310/109/910/108/810/100/011/11
28Terradj80.6077.401355685917608/80/09/100/011/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/80/08/80/08/811/1110/1010/1013/1310/109/90/07/810/1012/1211/11
29Zeryth77.6175.931553685917608/818/180/00/011/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/180/06/619/1911/1119/198/817/189/90/00/08/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
30Cillaniel70.1565.692048685397608/818/1810/1012/1211/1118/180/018/1810/1021/219/911/1110/100/09/918/1811/116/619/190/019/198/818/189/98/80/00/00/00/011/1110/1010/1013/1310/109/910/108/80/00/00/0
31Linihala71.6464.721949685447608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
32Dankus70.1563.092048685347608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/1013/1310/109/910/108/810/1012/1211/11
33Kúre70.1562.932048685237608/818/1810/1012/1211/1118/1811/1118/1810/1011/219/911/1110/1014/148/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/107/80/010/1010/1013/130/09/910/108/810/1012/120/0
34Sevester68.6660.812147685197608/818/1810/1012/1211/1118/1811/1118/1810/1020/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/108/1310/109/90/08/810/1012/126/11
35Tzombie62.6957.562543684707608/818/1810/100/011/1118/1811/110/010/1021/219/99/1110/1014/149/90/011/116/615/1911/110/08/818/180/08/810/108/80/08/811/1110/100/00/010/109/90/00/010/1012/120/0
36Masochizm61.1953.982642684787608/818/1810/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1119/198/818/189/98/80/00/00/00/00/00/00/00/00/00/00/00/00/00/011/11
37Cortés56.7250.082939684357600/018/1810/1012/1211/1118/180/018/1810/1021/219/911/1110/1014/149/90/011/116/619/1911/1119/198/818/189/98/810/108/810/108/811/1110/1010/100/010/109/910/108/810/1012/1211/11
38Tovvie50.7544.553335684027608/80/010/1012/1211/1118/1811/1118/1810/1021/219/911/1110/1014/149/918/1811/116/619/1911/1118/198/818/189/98/810/100/010/100/011/1110/100/013/1310/100/010/108/80/00/05/11
Main
Cell Formulas
RangeFormula
B2B2=E2/F2*100
C2C2=G2/I2*100
D2:D10,D12:D38D2=COUNTIF(K2:BY2,"0/0")
E2:E10,E12:E38E2=F2-D2
F2:F10,F12:F38F2=COUNTA(J2:BY2)
G2:G10,G12:G38G2=SUMPRODUCT(--(LEFT(0&J2:BY2,FIND("/",0&J2:BY2)-1)))
H2H2=SUMPRODUCT(--(RIGHT(0&J2:BY2,FIND("/",0&J2:BY2)-2)))
 
Upvote 0
Column H is what I'm trying to populate. G# should never be greater than H# which is how I realized it is not counting something correctly.
 
Upvote 0
Welcome to the MrExcel board!

Would adapting this to your range/data work for you?

20 10 19.xlsm
HIJKLMN
1
21538/812/153/57/125
Sum denominators
Cell Formulas
RangeFormula
H2H2=SUMPRODUCT(--(REPLACE(J2:N2,1,FIND("/",J2:N2&"/"),0)))
 
Upvote 0
You are welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,998
Members
448,539
Latest member
alex78

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