Get Min & Max Date from Pivot Table Field

akhlaq768

Board Regular
Joined
Jan 17, 2008
Messages
69
I have created a Pivot Table and one of the fields contains dates.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p> </o:p>
How do I take the Min and Max date from the pivot table but I just want to show the Min and Max date on a different cell.<o:p></o:p>
<o:p> </o:p>
So for example, <o:p></o:p>
<o:p> </o:p>
<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:eek:ffice:smarttags" /><st1:stockticker>CELL</st1:stockticker> A:1 contains ="Date Period from " + Min(startdate) + " to " + Max(startdate)<o:p></o:p>
<o:p> </o:p>
How do I get this working correctly?<o:p></o:p>
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Cross-posted here.
In future, if you are going to post in multiple forums, please have the courtesy to post the relevant links so people don't spend their time on solutions you may already have had elsewhere. :)
 
Upvote 0
Can you simply use MIN on the source data?
 
Upvote 0
You could just use Min and Max and pass the whole column that the pivot field is in.
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,175
Members
448,870
Latest member
max_pedreira

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