• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Pivot Table: Show details tab to list each of the matching row and the immediate row below|Power Pivot|Excel Forum|My Online Training Hub

You are here: Home / Pivot Table: Show details tab to list each of the matching row and the immediate row below|Power Pivot|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower PivotPivot Table: Show details tab to li…
sp_PrintTopic sp_TopicIcon
Pivot Table: Show details tab to list each of the matching row and the immediate row below
Avatar
veg trip

New Member
Members
Level 0
Forum Posts: 2
Member Since:
April 8, 2020
sp_UserOfflineSmall Offline
1
April 8, 2020 - 12:46 pm
sp_Permalink sp_Print

Hello !

I'm trying to do some analysis on a trade report from my brokerage. See attached xls. I have created a simple pivot table (tab titled Pivot Table) to list the various buy types and the corresponding profit. When I right click and select "Show Details" on the profit column (cell B5 in the tab titled Pivot Table), it will show the details on a new worksheet (I have renamed this tab to "Current").

But, can I update "Show details" to list each of the matching row and the row immediately below ? I have created a new tab titled "Ask" to reflect my expected results.

Appreciate any feedback or thoughts on this.

Thanks !

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4513
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
April 8, 2020 - 7:04 pm
sp_Permalink sp_Print

Hi and welcome to our forum!

The double click on a PivotTable cell will only display the items specific to that cell. You can't 'update' it as such to show something different. You'd need that data also in the PivotTable and summarised to a cell where when you double clicked it, it showed you the values you want to see in your 'Ask' example.'

If you change the filter on the row labels to include 'Buy' and 'Sell' items, then double click the Grand Total cell, you get close to your 'Ask' example.

Mynda

Avatar
veg trip

New Member
Members
Level 0
Forum Posts: 2
Member Since:
April 8, 2020
sp_UserOfflineSmall Offline
3
April 10, 2020 - 4:07 am
sp_Permalink sp_Print

Hi Mynda,

Thanks for your feedback !

I'm planning to move the sell row information to the right of the buy row, so that the info for each trade is available in one row. I will run pivot table on this post-processed table.

I'm going to find out how to write a VBA macro for this. This should be easy to write, so that I can run it every time I get a new trades list xls and then kick off the pivot table based analysis.

If you have better ideas on how to do this or if you are aware of a VBA macro that already does this, please point me to the same. 

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4513
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
April 10, 2020 - 9:56 am
sp_Permalink sp_Print

If your # column had the same number for the buy and sell data then you could use that to group the rows in the PivotTable. See attached on the 'Ask' sheet. Note: I would avoid writing VBA to do this. Far better to fix your source data so that it supported doing this in a PivotTable, than try and accommodate the missing data.

Mynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Geoff McClure, Riny van Eekelen, Cassie Bernier
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 215
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Ngoc Qui Nguyen
Clement Mansfield
Rose .
Bindu Menon
Baruch Zemer
Purple RainbowBenefactor
MOTH Junkie
Forum Stats:
Groups: 3
Forums: 24
Topics: 6350
Posts: 27773

 

Member Stats:
Guest Posters: 49
Members: 32317
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.