Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default extract row number from Pivot Table Result

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default extract row number from Pivot Table Result

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
---
"gtslabs" wrote:
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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table showing number "1" instead of actual result Pendelfin Excel Discussion (Misc queries) 1 May 20th 08 01:46 PM
Extract pivot table raw data Han Qiao Excel Discussion (Misc queries) 2 October 17th 07 05:41 PM
HOW TO EXTRACT (or lookup) DATA FROM A PIVOT TABLE SSJ New Users to Excel 3 November 9th 06 09:46 PM
How to extract the month in a Pivot Table Mark Excel Worksheet Functions 1 August 19th 06 08:54 PM
how do i extract data from pivot table to txt file stef Excel Discussion (Misc queries) 1 May 24th 06 06:29 PM


All times are GMT +1. The time now is 02:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"