Link to home
Start Free TrialLog in
Avatar of brianpowell
brianpowellFlag for United States of America

asked on

text field ms excel

q:

I want the last 4 char of a date field in ms excel.

e.g. 1/1/2012  returns 2012.  or 01/1/2012 returns 2012.


restated I want to extract the year from my date field without code.

can anyone help

thanks!
ASKER CERTIFIED SOLUTION
Avatar of Tom Farrar
Tom Farrar
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brianpowell

ASKER

ill try it thanks... was thinking in terms of instr.....
what does the formatting for A1 need to be:  

bp
thanks!
If the date is text =YEAR(DATEVALUE(A1))