Numbers&letters calculation

doriannjeshi

Board Regular
Joined
Apr 5, 2015
Messages
214
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I want to find the current letter if the Value is specified . All the letter values (according to the table) start being added to each other until we get the Value being asked to show the letter.





wordValuecurrent letter formula
1Aangel30G
2Bdark5A
3Clanguages20A
4D
5E
6F
7G
8H
9I
1J
2K
3L
4M
5N
6O
7P
8Q
9R
1S
2T
3U
4V
5W
6X
7Y
8Z
 
You're welcome. Thanks for the follow-up.

Here is another option that you could consider. Helper column formula is slightly longer but the col F formula is much simpler.

23 01 12.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1wordValueLetter
21Aangel30G161318212228415980102130171230310412542713943
32Bdark5A451416202539557510013919426936950870297113401848
43Clanguages20A3491619202732333640496584104131163196232
54Dabc6C1367101623334972105154226331485711104215272238
65E
76F
87G
98H
109I
111J
122K
133L
144M
155N
166O
177P
188Q
199R
201S
212T
223U
234V
245W
256X
267Y
278Z
Letter (2)
Cell Formulas
RangeFormula
H2:Z5H2=G2+IFNA(INDEX($A$2:$A$27,MATCH(MID($D2,COLUMNS($H:H),1),$B$2:$B$27,0)),OFFSET(H2,,-LEN($D2)))
F2:F5F2=UPPER(MID(REPT(D2,99),MATCH(E2,H2:Z2)+ISNA(MATCH(E2,H2:Z2,0)),1))
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You're welcome. Thanks for the follow-up.

Here is another option that you could consider. Helper column formula is slightly longer but the col F formula is much simpler.

23 01 12.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1wordValueLetter
21Aangel30G161318212228415980102130171230310412542713943
32Bdark5A451416202539557510013919426936950870297113401848
43Clanguages20A3491619202732333640496584104131163196232
54Dabc6C1367101623334972105154226331485711104215272238
65E
76F
87G
98H
109I
111J
122K
133L
144M
155N
166O
177P
188Q
199R
201S
212T
223U
234V
245W
256X
267Y
278Z
Letter (2)
Cell Formulas
RangeFormula
H2:Z5H2=G2+IFNA(INDEX($A$2:$A$27,MATCH(MID($D2,COLUMNS($H:H),1),$B$2:$B$27,0)),OFFSET(H2,,-LEN($D2)))
F2:F5F2=UPPER(MID(REPT(D2,99),MATCH(E2,H2:Z2)+ISNA(MATCH(E2,H2:Z2,0)),1))
I am using this then!
 
Upvote 0
can you please check the word: Mani, it gives me a diferent result
The first solution reports a correct M letter

Book6
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1wordValueLetter
21Astrong40R13121823303134466487117148182228292379496644
32Bmani40I4510192328385780108146203283391537740102314141951
43Clanguages20A3491619202732333640496584104131163196232
54Dabc3B1367101623334972105154226331485711104215272238
65E
76F
87G
98H
109I
111J
122K
133L
144M
155N
166O
177P
188Q
199R
201S
212T
223U
234V
245W
256X
267Y
278Z
Sheet3
Cell Formulas
RangeFormula
H2:Z5H2=G2+IFNA(INDEX($A$2:$A$27,MATCH(MID($D2,COLUMNS($H:H),1),$B$2:$B$27,0)),OFFSET(H2,,-LEN($D2)))
F2:F5F2=UPPER(MID(REPT(D2,99),MATCH(E2,H2:Z2)+ISNA(MATCH(E2,H2:Z2,0)),1))
 
Upvote 0
Mani, it gives me a diferent result
The first solution reports a correct M letter
Good catch - You are correct.
:oops: I should have noticed that the numbers were getting too big too quickly!

See if this is better. Note that column G must be blank.

23 01 12.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1wordValueLetter
21Astrong40R131218233031334248536061637278839091
32Bmani40M451019232429384243485761626776808186
43Clanguages20A34916192027323336374249525360656669
54Dabc3B136791213151819212425273031333637
65E
76F
87G
98H
109I
111J
122K
133L
144M
155N
166O
177P
188Q
199R
201S
212T
223U
234V
245W
256X
267Y
278Z
Letter (3)
Cell Formulas
RangeFormula
H2:Z5H2=G2+IFNA(INDEX($A$2:$A$27,MATCH(MID($D2,COLUMNS($H:H),1),$B$2:$B$27,0)),OFFSET(H2,,-LEN($D2))-OFFSET(G2,,-LEN($D2)))
F2:F5F2=UPPER(MID(REPT(D2,99),MATCH(E2,H2:Z2)+ISNA(MATCH(E2,H2:Z2,0)),1))
 
Upvote 0
Good catch - You are correct.
:oops: I should have noticed that the numbers were getting too big too quickly!

See if this is better. Note that column G must be blank.

23 01 12.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1wordValueLetter
21Astrong40R131218233031334248536061637278839091
32Bmani40M451019232429384243485761626776808186
43Clanguages20A34916192027323336374249525360656669
54Dabc3B136791213151819212425273031333637
65E
76F
87G
98H
109I
111J
122K
133L
144M
155N
166O
177P
188Q
199R
201S
212T
223U
234V
245W
256X
267Y
278Z
Letter (3)
Cell Formulas
RangeFormula
H2:Z5H2=G2+IFNA(INDEX($A$2:$A$27,MATCH(MID($D2,COLUMNS($H:H),1),$B$2:$B$27,0)),OFFSET(H2,,-LEN($D2))-OFFSET(G2,,-LEN($D2)))
F2:F5F2=UPPER(MID(REPT(D2,99),MATCH(E2,H2:Z2)+ISNA(MATCH(E2,H2:Z2,0)),1))
Yes it is great, thank you for the improvement!
 
Upvote 0

Forum statistics

Threads
1,215,586
Messages
6,125,681
Members
449,249
Latest member
ExcelMA

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