formatting date for pivot table

S

Seede

hello
the data in my spreadsheet is with datetime. when i create a pivot table, it
creats multiple rows for data with same date.
when i tried to change the format, it did not help
how can i create a pivot table that does not create multiple rows for data
with sme date when my souce excel data is in datetime.
 
D

Dave Peterson

After you create the pivottable, you can:

rightclick on the date/time header.
Choose Group and Show Detail
Then choose Group
and group by Days
(unselect any other options)



Or you could do this:
Insert another column with just the date:
=int(a2)
and format it as a date.

And then pivot on that extra helper column.
 
S

Shane Devenshire

Hi,

Of course another alternative is to create a formula in a blank column of
the data range which only returns that date. =INT(A1) for example. Then
use this as your row field.

Another option is to select the Date column in you raw data and choose Data,
Text to Columns, Fixed Width, Next, make sure the line in the preview pane is
in the correct place to the right of the date portion. Click Next, select
the time column in the preview pane and select Do not import (Skip). Click
Finish. This will eliminate the times leaving only the dates.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top