I knew there was a way to convert a month written in text (e.g. May) to a number (5), but couldn't recall how.
I thought it was simply =Month("May") but that results in a #value error. However if you simply append any number from 0-99 it works. Actually, I don't see the logic with the appended numbers either. "May100" results in an error but "May9000" gives 5. Huh?
E.g. =Month("May0") or =Month("May84") will both return 5.
Sometimes I just accept things but usually like it to make sense. Anyone see the logic as to why this works?
I thought it was simply =Month("May") but that results in a #value error. However if you simply append any number from 0-99 it works. Actually, I don't see the logic with the appended numbers either. "May100" results in an error but "May9000" gives 5. Huh?
E.g. =Month("May0") or =Month("May84") will both return 5.
Sometimes I just accept things but usually like it to make sense. Anyone see the logic as to why this works?