Thread
:
Counting Upper and Lower case chars in a Cell
View Single Post
#
3
Posted to microsoft.public.excel.misc
Peo Sjoblom
external usenet poster
Posts: 3,268
Counting Upper and Lower case chars in a Cell
Assuming that's the case
=(LEN(A1)-LEN(SUBSTITUTE(A1,"a","")))*0.5+LEN(A1)-LEN(SUBSTITUTE(A1,"A",""))
--
Regards,
Peo Sjoblom
"Peo Sjoblom" wrote in message
...
Are you using the whole alphabet or just A and a?
--
Regards,
Peo Sjoblom
"Mad Axeman" <Mad
wrote in message
...
Do you know of anyway of converting the following
a = 0.5
A = 1.0
Aa = 1.5
Aaa = 2.0
AA = 2.0
aAA
= 2.5
EG : If cell A1 contains a lower case letter - Cell D1 will show a
numeric
value of 0.5
If cell A2 contains an upper case letter - Cell D2 will show a numeric
value of 1
In effect an Upper case letter has a value of 1, a lower case = 0.5
Then, if a cell contains a mixture of both - the cell value is summed
together
EG Cell A3, 1 upper and 1 lower - Therefore D3 - 1.5
etc as in the above example
This has been melting my brain for a day or so now - so I need the help
of
an expert!
Reply With Quote
Peo Sjoblom
View Public Profile
Find all posts by Peo Sjoblom