I'm no expert but where a piece of data can be any length the only way to
discover its length, and to act upon it, is to use a function that will count
the number of characters. eg A1 = "This is my sample data string." [30
characters]
So, your formula LEN(A1)-3 = 27. All it's doing is a character count.
When used in =RIGHT(A1,LEN(A1)-3) It is selecting the string of data 'A1'
and excluding the last three characters. So, you get "This is my sample
data stri"
If you have a string A1 = "JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC" you can
select three characters from the string by using =MID(A1,(Month No x 3)-3,3)
which for APR (month 4) will count in twelve characters (4x3) then count
back 3 (9) then display the next three (3) characters = "APR".
I apologise if this is as clear as mud, but I only joined this queue
tonight and haven't read any learned replies yet.
Regards,
Len
--
Len
It sounds dumb & real silly, I can't figure the definition or meaning in
laymans term for the LEN function and why is it used in so many functions.
The definition in the help section doesn't say much about LEN.
For example =RIGHT(A1,LEN(A1)-3)
Please help. Thank you.