We all know how CHOOSE Works
eg. If I had month number and I wanted to convert them into Month name then I'd be using Choose
ie.
But what my query is that if we were given month names and were asked to find their respective numbers how would one do that.
I am aware of the use of
to find the relative number of a character from a string.
What I wanted to ask is if it was possible to consider a word instead of a single character to find out their relative number from a string.
Thanks.
eg. If I had month number and I wanted to convert them into Month name then I'd be using Choose
ie.
Code:
MonName=CHOOSE(Monno,"Jan", "Feb", "Mar", "Apr", "May" "Jun", "Jul", "Aug", "Sep", "Oct" "Nov" "Dec")
I am aware of the use of
Code:
InStr
What I wanted to ask is if it was possible to consider a word instead of a single character to find out their relative number from a string.
Thanks.
Last edited: