Jan 24 2021 05:20 AM
Hello
How to Convert Ordinal number to Cardinal Number with the help of Formula or VBA?
Like -
1st -- 1
2nd -- 2
3rd -- 3
and so on.
Please help..??
Waiting for your reply...???
Jan 24 2021 05:46 AM
@Excel Perhaps like this?
Jan 24 2021 05:48 AM
Yes sir... You are correct
Sir what if i want to change to -
22nd Dec - 22-Dec-2021(in date format)
Jan 24 2021 06:26 AM
@Excel Not pretty, but like this:
=VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B13,"st ","-"),"nd ","-"),"rd ","-"),"th ","-"))
Jan 24 2021 06:33 AM
Jan 24 2021 06:39 AM
@Excel You're welcome!