transferring dates to another sheet

workbook excel 2010

=TRIM(SUBSTITUTE('Main Form'!C14," ",""))

I'm grabbing dates from sheet Main Form.
01/02/88

to sheet 2 with the formula above but the cells are displaying   29222 ?

Anyway to correct the formula to correctly display on Main Form

cells are formatted  like   date: 01/01/80


Thanks
fordraiders
LVL 3
FordraidersAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Its because Excel treats Dates as Numbers. Apply Short Date format to that column and you will see your dates back.
To test this, input 1 in a cell and format that cell as Short Date, now you will see 01/01/1900 which is the first date excel has in database.

Hope this helps.
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Also try this to convert it to date.......

=TRIM(SUBSTITUTE('Main Form'!C14," ",""))*1
FordraidersAuthor Commented:
sktneer, not working :  attaching workbook..
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Okay. Go ahead...
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
BTW did you try one of these.......

=TRIM(SUBSTITUTE('Main Form'!C14," ",""))*1

Or

=TRIM(SUBSTITUTE('Main Form'!C14," ",""))+0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FordraidersAuthor Commented:
=TRIM(SUBSTITUTE('Main Form'!C14," ",""))*1    worked
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Glad it worked for you. :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.