Auto- Calculate values of text strings

Gesyca_is_joy

Board Regular
Joined
Apr 24, 2014
Messages
90
Office Version
  1. 365
Platform
  1. Windows
ok i have a similar question that I can't find the answer to.

Say i have a list in my sheet "Value" and it gives a value for every letter in the alphabet in a list setup across two columns, the letters of the alphabet in Column A (Rows 1-26) and their corresponding values in Column B, rows 1-26. (Shown Below) then in column D i have a list of words, and in column E i want to determine the value of that word based on the value of the letters in my list; how would i write that formula?

an example would be the word "Blue" would have a value of 7 (B=3, L=1, U=2, E=1), but i want to write a formula so that i can add more words to my list in column D and just drag the formula down to auto-calculate the value.

[TABLE="width: 87"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Letter[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]I[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]J[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]K[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]L[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]M[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]N[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]O[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]P[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Q[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]R[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]S[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]U[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]V[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]W[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Y[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD="align: right"]6

[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Looks very scrabbly - maybe:

ABCDE
LetterValueWordValue
ABLUE
Bred
CALLIGATOR
DCat
EHORSE
FJACKAL
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: right"][/TD]

[TD="align: center"]2[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]

[TD="align: right"]7[/TD]

[TD="align: center"]3[/TD]

[TD="align: right"]3[/TD]
[TD="align: right"][/TD]

[TD="align: right"]3[/TD]

[TD="align: center"]4[/TD]

[TD="align: right"]2[/TD]
[TD="align: right"][/TD]

[TD="align: right"]10[/TD]

[TD="align: center"]5[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]

[TD="align: right"]4[/TD]

[TD="align: center"]6[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]

[TD="align: right"]5[/TD]

[TD="align: center"]7[/TD]

[TD="align: right"]2[/TD]
[TD="align: right"][/TD]

[TD="align: right"]14[/TD]

[TD="align: center"]8[/TD]

[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]#REF![/TD]

[TD="align: center"]9[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]#REF![/TD]

[TD="align: center"]10[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]11[/TD]

[TD="align: right"]5[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]12[/TD]

[TD="align: right"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]13[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]14[/TD]

[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]15[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]16[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]17[/TD]

[TD="align: right"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]18[/TD]

[TD="align: right"]6[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]19[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]20[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]21[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]22[/TD]

[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]23[/TD]

[TD="align: right"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]24[/TD]

[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]25[/TD]

[TD="align: right"]5[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]26[/TD]

[TD="align: right"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]27[/TD]

[TD="align: right"]6[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

</tbody>
Sheet4

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Array Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]E2[/TH]
[TD="align: left"]{=SUM(SUBTOTAL(9,OFFSET($B$2,CODE(MID(UPPER(D2),ROW(INDIRECT("1:"&LEN(D2))),1))-65,0)))}[/TD]
[/TR]
</tbody>[/TABLE]
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself[/TD]
[/TR]
</tbody>[/TABLE]




This works for upper/lower case. Hope this helps.
 
Upvote 0
As an alternative, here's a UDF.
To install the UDF:
1. With your workbook active press Alt and F11 keys. This will open the VBE window.
2. In the project tree on the left of the VBE window, find your project and click on it.
3. On the VBE menu: Insert>Module
4. Copy the UDF from your browser window and paste it into the white space in the VBE window.
5. Close the VBE window and Save the workbook. If you are using Excel 2007 or a later version do a SaveAs and save it as a macro-enabled workbook (.xlsm file extension).
6. Use the UDF as you would any native Excel function (see example below).
7. Make sure you have enabled macros whenever you open the file or the code will not run.
Code:
Function SumAlphas(S As String, lkupTable As Range) As Variant
'lkupTable assigns values to each letter in the alphabet
Dim i As Long
For i = 1 To Len(S)
    If Mid(S, i, 1) Like "[A-Za-z]" Then
        SumAlphas = SumAlphas + WorksheetFunction.VLookup(Mid(S, i, 1), lkupTable, 2, 0)
    End If
Next i
End Function
Sheet7


ABCDE
A
Blue
B
John and Me
C
Red
D
JohnJohn
E
too
F
Mississippi
G

H


I


J


K


L


M


N


O


P


Q


R


S


T


U


V


W


X


Y


Z



<colgroup><col style="font-weight:bold; width:30px; "><col style="width:20px;"><col style="width:14px;"><col style="width:38px;"><col style="width:85px;"><col style="width:21px;"></colgroup><tbody>
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]1[/TD]

[TD="align: right"]1[/TD]

[TD="align: right"]7[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]2[/TD]

[TD="align: right"]3[/TD]

[TD="align: right"]14[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]3[/TD]

[TD="align: right"]2[/TD]

[TD="align: right"]3[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]4[/TD]

[TD="align: right"]1[/TD]

[TD="align: right"]16[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]5[/TD]

[TD="align: right"]1[/TD]

[TD="align: right"]3[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]6[/TD]

[TD="align: right"]2[/TD]

[TD="align: right"]16[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]7[/TD]

[TD="align: right"]2[/TD]

[TD="align: right"]0[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]8[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]9[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]10[/TD]

[TD="align: right"]5[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]11[/TD]

[TD="align: right"]4[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]12[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]13[/TD]

[TD="align: right"]2[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]14[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]15[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]16[/TD]

[TD="align: right"]3[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]17[/TD]

[TD="align: right"]6[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]18[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]19[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]20[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]21[/TD]

[TD="align: right"]2[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]22[/TD]

[TD="align: right"]4[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]23[/TD]

[TD="align: right"]2[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]24[/TD]

[TD="align: right"]5[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]25[/TD]

[TD="align: right"]3[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]26[/TD]

[TD="align: right"]6[/TD]

</tbody>

Spreadsheet Formulas
CellFormula
E1=SumAlphas(D1,$A$1:$B$26)

<tbody>
</tbody>

<tbody>
</tbody>

EDIT: Forgot to add that you are not limited to single words in a cell with this.

Excel tables to the web >> Excel Jeanie HTML 4 EDIT
 
Last edited:
Upvote 0
you are all awesome!!

Ok, so I am trying to balance the letter value based on real-time counts and frequency that update as I add words to my master list; I have all those formulas written and working. Now what i'm trying to write is a formula that will assign a letter value between 1-6 based on the frequency percentage, see below, I want the value in Col D to be a number between 1 and 6 based on the percentage in Col C. So if the percentage is 0%, i want the value to be 6; if the percentage is 1% the value is 5, 2-3% value is 4, 5-6% value is 3, 7-9%, value is 2 and anything above 9% gets a value of 1. I figured i could use a series of nested IF THEN statements, but that only worked if i used absolute values; when i needed a range of percentages to get the same value i kept getting errors... i thought about using a little table of % values and making a reference, but then i couldn't make a statement like "everything above 9% is a value of 1".

[TABLE="width: 228"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Col A[/TD]
[TD]Col B[/TD]
[TD]Col C[/TD]
[TD]Col D[/TD]
[/TR]
[TR]
[TD]Letter[/TD]
[TD]Count[/TD]
[TD]Frequency (%)[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]8%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]2%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]1%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]3%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]47[/TD]
[TD="align: right"]14%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]1%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]2%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]J[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]K[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]L[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]M[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]2%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]N[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]7%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]O[/TD]
[TD="align: right"]31[/TD]
[TD="align: right"]9%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]3%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Q[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]R[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]S[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]4%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]9%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]U[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]4%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]V[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Y[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]3%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0%[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
What value do you want assigned if Frequency is between 0% and 1%, between 1% and 2%, between 3% and 5%, between 6% and 7%??
 
Upvote 0
All the % are whole numbers because they are derived from a straight character count, there is no partial numbers involved in the calculation

0% = 6
1% = 5
2% = 4
3% = 3
4% = 3
5% = 2
6% = 2
7% = 1
8% = 1
9% = 1
10% and up = 0

What value do you want assigned if Frequency is between 0% and 1%, between 1% and 2%, between 3% and 5%, between 6% and 7%??
 
Last edited:
Upvote 0
Here's a nested IFs formula - copy D2 down.
Excel Workbook
ABCD
1LetterCountFrequency (%)Value
2A288%1
3B62%4
4C41%5
5D113%3
6E4714%0
7F41%5
8G72%4
9H175%2
10I175%2
11J10%6
12K51%5
13L195%2
14M82%4
15N257%1
16O319%1
17P93%3
18Q00%6
19R195%2
20S144%3
21T309%1
22U134%3
23V21%5
24W195%2
25X00%6
26Y113%3
27Z00%6
Sheet8
 
Upvote 0
Ok, last ask; how do i calculate the sum total of appearances for letters in a given word based on a set list? so the word ALL (not case sensitive though) would return a value of 18 in this example? I'm thinking it's a SUMIF formula, but i can't figure out how to make the calculation consider each character individually to add each number assigned to that character.


[TABLE="width: 131"]
<tbody>[TR]
[TD]Letter[/TD]
[TD]Appearances[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]13[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]I[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]J[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]K[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]L[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]M[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]N[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]O[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]P[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Q[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]R[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]S[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]U[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]V[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]W[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Y[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0
Isn't that essentially the same as your question in post 1, just with a different table? If so, the formula from post 2 should work.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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