Pivot table Unique dates

Misca

Well-known Member
Joined
Aug 12, 2009
Messages
1,662
Is there a way to count the unique dates (or values) in the pivot table data? I can think of a couple workarounds to solve the problem but not without the limitations.
 

Some videos you may like

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,368
Hi, Misca. If you search old posts there will be examples; especially posts by me. regards, F

ps Or post a specific example
 

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,368
Here is one example from a few months ago, http://www.mrexcel.com/forum/showthread.php?t=376471 There are many others; there will be some variety amongst them. The approaches are usually quite specific to the question; so it usually is best to post a specific question. Still, if you search amongst a number of the old examples the general ideas should help you solve most similar questions. This (the above link) was a simple example.
 

Misca

Well-known Member
Joined
Aug 12, 2009
Messages
1,662
Hi, Fazza, and thanks for your help!

I had already figured out the "=1/countif(C:C,C2)" -workaround which works fine for simple datasets but my datasets have roughly 50 columns and the users usually change the pivot table layouts quite a lot when they analyze the data. This particular case has shipment data on it and the table is being used to identify shipments from certain zip codes to certain customers by months and the costs are being calculated on the Current Way vs Suggested Way. The "Suggested way" being a specific route on nightly bases - but only for those nights when there's been shipments to these certain customers. Shouldn't be that hard a task but it is because the data may have several shipments from here to there with the same dates and some days only shipments to certain places, not all of them.

I was thinking of coming up with a some kind of SUMPRODUCT-workaround before deciding to ask for people wiser than me for some advice. There's just too many possibilities to filter the data with so I thought maybe there's an easier way...
 

Watch MrExcel Video

Forum statistics

Threads
1,122,215
Messages
5,594,883
Members
413,947
Latest member
gizmolucy

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
Top