Change date in Excel

Hello Experts.

I have a huge spreadsheet and I need to create a pivot table counting the rows in the table grouped by date. Problem is, the raw data has the date including the time stamp. How can I change the date so the pivot table only takes into account the date and not the time?

Thanks
Horalia RodriguezIT DeveloperAsked:
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.

DMTechGrooupCommented:
Excel likes to store dates in the serial format then show them using the cell format.  Here is a walk though to change it to a INT and get just the serial date which can then be used for grouping, etc.

http://excelsemipro.com/2012/09/extract-a-date-from-a-date-time-number-in-excel/

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
Horalia RodriguezIT DeveloperAuthor Commented:
Exactly what I needed. Thanks for the quick response!
SteveCost AccountantCommented:
by the way...
you can use GROUP in the pivot table...
this will allow you to maintain the data as is and group by Year, Quarter, Month, Day etc etc

If you pivot table your data and put the date as the row...
Right click the data and select group then group by days/months etc etc.

The attached file should provide an example of this in action.

ATB
Steve.
Group-Example.xlsx
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.