+ Reply to Thread
Results 1 to 3 of 3

Display data from pivot table

  1. #1
    Registered User
    Join Date
    05-08-2010
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    5

    Display data from pivot table

    Hello

    I am trying to extract data and diplay it by querrying a pivot table.

    I would like to display the date and the corresponding maximum market price of an investment and the date and market price when it was last traded in a separate tab.

    Attached "Display data from pivot table.xls" contains the data, the pivot table & the report. I tried using a VLOOKUP together with =max() on pivot table but i cannot achieve the result.

    Thanks for you assistance
    RegardsDisplay data from pivot table.xls
    Last edited by noelcass; 07-16-2010 at 04:00 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Display data from pivot table

    We can reference the main table instead, since each row has all necessary data...

    So in D7 of Report!: =MAX(IF(Data!$C$4:$C$38=Report!B7,IF(Data!$B$4:$B$38=C7,Data!$E$4:$E$38)))

    confirmed with CTRL+SHIFT+ENTER and copied down

    in E7:

    =SUMPRODUCT(--(Data!$B$4:$B$38=C7),--(Data!$C$4:$C$38=B7),--(Data!$E$4:$E$38=D7),Data!$D$4:$D$38)

    copied down

    in F7:

    =SUMPRODUCT(--(Data!$B$4:$B$38=C7),--(Data!$C$4:$C$38=B7),--(Data!$D$4:$D$38=G7),Data!$E$4:$E$38)

    copied down

    and in G7:

    =MAX(IF(Data!$C$4:$C$38=Report!B7,IF(Data!$B$4:$B$38=C7,Data!$D$4:$D$38)))

    confirmed with CTRL+SHIFT+ENTER and copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-08-2010
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Display data from pivot table

    Thanks for your assistance
    regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1