Hello, does anyone know if such a function exists?
I have words in column A and want to produce a string of numbers relating to the key you would have to press to make the word. I began by putting 1, 2, 3 etc in the row beginning at B2 and copying this formula from B2 down and along. Then in cell AA2 I combined all the numbers to make the string.
=IF(ISERROR(CODE(MID($A2,B$1,1))),"",IF(OR(CODE(MID($A2,B$1,1))>105,CODE(MID($A2,B$1,1))>115),"",IF(CODE(MID($A2,B$1,1))<100,2,IF(CODE(MID($A2,B$1,1))<103,3,IF(CODE(MID($A2,B$1,1))<106,4,"")))))&IF(ISERROR(CODE(MID($A2,B$1,1))),"",IF(OR(CODE(MID($A2,B$1,1))<106,CODE(MID($A2,B$1,1))>115),"",IF(CODE(MID($A2,B$1,1))<109,5,IF(CODE(MID($A2,B$1,1))<112,6,IF(CODE(MID($A2,B$1,1))<116,7,"")))))&IF(ISERROR(CODE(MID($A2,B$1,1))),"",IF(OR(CODE(MID($A2,B$1,1))<106,CODE(MID($A2,B$1,1))<116),"",IF(CODE(MID($A2,B$1,1))<119,8,IF(CODE(MID($A2,B$1,1))<123,9,""))))
That is what I want to do, but with a function.
The rules are that:
A or a or B or b or C or c = 2
D or d or E or e or F or f = 3
G or g or H or h or I or i = 4
J or j or K or k or L or l = 5
M or m or N or n or O or o = 6
P or p or Q or q or R or r or S or s = 7
T or t or U or u or V or v = 8
W or w or X or x or Y or y or Z or z = 9
I want to be able to write the string "Hello" and produce the result: 43556
Hope you can help, many thanks.
I have words in column A and want to produce a string of numbers relating to the key you would have to press to make the word. I began by putting 1, 2, 3 etc in the row beginning at B2 and copying this formula from B2 down and along. Then in cell AA2 I combined all the numbers to make the string.
=IF(ISERROR(CODE(MID($A2,B$1,1))),"",IF(OR(CODE(MID($A2,B$1,1))>105,CODE(MID($A2,B$1,1))>115),"",IF(CODE(MID($A2,B$1,1))<100,2,IF(CODE(MID($A2,B$1,1))<103,3,IF(CODE(MID($A2,B$1,1))<106,4,"")))))&IF(ISERROR(CODE(MID($A2,B$1,1))),"",IF(OR(CODE(MID($A2,B$1,1))<106,CODE(MID($A2,B$1,1))>115),"",IF(CODE(MID($A2,B$1,1))<109,5,IF(CODE(MID($A2,B$1,1))<112,6,IF(CODE(MID($A2,B$1,1))<116,7,"")))))&IF(ISERROR(CODE(MID($A2,B$1,1))),"",IF(OR(CODE(MID($A2,B$1,1))<106,CODE(MID($A2,B$1,1))<116),"",IF(CODE(MID($A2,B$1,1))<119,8,IF(CODE(MID($A2,B$1,1))<123,9,""))))
That is what I want to do, but with a function.
The rules are that:
A or a or B or b or C or c = 2
D or d or E or e or F or f = 3
G or g or H or h or I or i = 4
J or j or K or k or L or l = 5
M or m or N or n or O or o = 6
P or p or Q or q or R or r or S or s = 7
T or t or U or u or V or v = 8
W or w or X or x or Y or y or Z or z = 9
I want to be able to write the string "Hello" and produce the result: 43556
Hope you can help, many thanks.