For a column, I can get 97 from 1997 using MID, but I need '97 (apostrophe prefix). Can somebody give me a pointer? Thank you in advance for your help.
If you're starting with text then [tt]=[/tt][blue][tt]"[/tt][/blue][red][tt]'[/tt][/red][blue][tt]"[/tt][/blue][tt]&MID([/tt]etc.
If you're starting with a date then you should probably be using a format ([blue]'yy[/blue] perhaps) and not a MID function.
Enjoy,
Tony
------------------------------------------------------------------------------------ We want to help you; help us to do it by reading this:Before you ask a question.
Got it. I did a MID into a column and then CONCATENATE on that column into a 2rd column and then copied and pasted "values" into the 3rd column which I used for the required output. m
I thought I'd shown you how to do it - seems you didn't understand my post. Sorry.
Enjoy,
Tony
------------------------------------------------------------------------------------ We want to help you; help us to do it by reading this:Before you ask a question.
If you have a REAL DATE, then you should NOT have to use STRING FUNCTIONS like LEFT, MID, RIGHT. A Date is NOT a STRING. It is a NUMBER that is FORMATTED to appear in any number of date formats.
So your requirement is to get '97 from a 1997 date?
------------------------------------------------------------------------------------ We want to help you; help us to do it by reading this:Before you ask a question.
------------------------------------------------------------------------------------ We want to help you; help us to do it by reading this:Before you ask a question.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.