Cell J4 has "Format>Cells>Number>Custom" Set at " MAR "0
When I enter the number 2 into Cell J4 it dutifully reads (minus the exclamation marks): " MAR 2"
I want to 'read' the 2nd, 3rd, and 4th characters of J4 yielding (minus the exclamation marks): "MAR"
Why?
Using an If Statement in Cell S45 I want to read the 2nd, 3rd, and 4th characters of J4 (3-letter abbreviation for month),
then having read the 3-letter abbreviation place the month full name in Cell S45.
=If(2nd, 3rd, and 4th characters of J4 = "JAN", "JANUARY",If(2nd, 3rd, and 4th characters of J4 = "FEB", "FEBRUARY", and so on thru the 12 months,"???")))))))))))
I'm guessing in Excel there is neater way to accomplish same objective. The method above, if possible, and although maybe more cumbersome; works for me... given 'reading' the 2nd, 3rd, and 4th characters of J4 is possible.
I always end my If statements acting on text with: ,"???") This alerts me if I've made a typo in J4, I get "alerted" when S45 displays (minus the exclamation marks): "???"
Thanks,
_Andy L
Bookmarks