I require a lotus 123 macro that will count the number of occurences of letters from a list of names so that I can determine how many letters of each type are in the list.
doLine {let curChar;@mid(curLine;n;1)}
{if @exact(@upper(curChar);@lower(curChar))}{return}
{put results;1;@vlookup(@upper(curChar);results;0);@vlookup(@upper(curChar);results;1)+1}
In order to use this, just create a two-column range on a separate sheet called "results". The numbers column should start out as blank. It will be populated by the macro:
A 121
B 32
C 48
D 48
E 137
F 19
G 30
H 60
I 61
J 2
K 29
L 82
M 53
N 108
O 101
P 19
Q 1
R 107
S 91
T 64
U 34
V 16
W 26
X
Y 28
Z 8
The input of names should be a single column range named "list" on a separate sheet.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.