Using Formatted Data in a Pivot Table

gate68

New Member
Joined
Jun 6, 2008
Messages
34
I am using a pivot table to count the date where an error has occurred. It counts the dates but the problem is that the date has a time attached to it therefore a single day may have several rows. I have formatted the table so it only sees the date but it is not working and does the same thing. i am also exporting this data to minitab if that helps any bit. I am using Excel 2003 and windows XP
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi Welcome.

It is not clear exactly what you need. If there are errors on the same day, would you need to count all of them (regardless of time)? Or do you want to count only one (regardless of how many in the same day)?

In general, pivot tables are in their nature flexible and hard to explain. Often the easiest thing to do is work with your source data (against otherwise good principles). Add a column to the source data that would contain this formula:
=DATE(YEAR(A1),MONTH(A1),DAY(A1))

Or simply,
=INT(A1)

This will give you a column of dates without the times.

HTH
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,030
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top