extract row number from Pivot Table Result

G

gtslabs

I have a pivot table that looks up data from the day, time, event.
The pivot table gets the max(event) for each day.
But I want to get the Time for each day that the max(event) occured.
So I figured if Ihave the rownumber I Can get the time stamp.
Can I retrieve this row number in the Pivot Table? This Max may repeat
over different days so a vlookup might not work.
 
M

Max

Indicatively, a multi-criteria index n match on the underlying source data
sheet (for the pivot) could do it directly. Something like this, normal ENTER
=INDEX(Sheet1!B2:B10,MATCH(1,INDEX((Sheet1!A2:A10=Date)*(Sheet1!C2:C10=MaxEvent)),),0))
where Sheet1 contains the source data,
col A = dates, col B = time, col C = event nums

In the event of any ties in the date/max,
then only the 1st match from col B will be returned
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
 

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