+ Reply to Thread
Results 1 to 9 of 9

Need help with separating data on a Pivot report

  1. #1
    Forum Contributor
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Microsoft 365, Excel, Version 2402
    Posts
    184

    Need help with separating data on a Pivot report

    Hi,
    I have a data table which contains financial data and a set of assumptions.
    What is the best way to design a pivot table which reports the financial data BUT shows assumptions separately (I still need the assumptions displayed as part of the report). Please see attached mock-up.
    I would welcome advice on the design / approach.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help with separating data on a Pivot report

    Where are the ID references in the Data. Are these the values in columns L:S?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Microsoft 365, Excel, Version 2402
    Posts
    184

    Re: Need help with separating data on a Pivot report

    Hi,
    Thanks for your reply.
    The ID references in cols L:S in the Data worksheet are look-ups to the Assumptions worksheet.
    A1=Assumption 1 and A2= Assumption 2, etc.
    Apologies, just noticed minor error in my mock-up. May 2019 should shows Assumptions 1, 2 and 4 and NOT 1, 2, 3 4.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help with separating data on a Pivot report

    Of course becuase of the way you want to report thinhs your data is not a normalised table that makes a PT readily usable

    Are you able to change your layout so that column L becomes a column in which you record an Assumption Reference A1, A2..etc and column M becomes the value 1,2,4..whatever

    It means you'll have more rows in the table since where you have 3 assumptions listed in L:S you'll now have three rows in the data. However you can now use a PT in the way it's intended to be used.

  5. #5
    Forum Contributor
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Microsoft 365, Excel, Version 2402
    Posts
    184

    Re: Need help with separating data on a Pivot report

    Ah, I see what you mean, so my current design will not work. I know how to normalise the data so I'm ok on that part.
    How do I separate assumptions from my PT as the PT should contain financial data only - is it even possible?

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help with separating data on a Pivot report

    Not quite sure what you mean by separate a column of assumptions from your table or why it's important. The Table of Assumptions can be kept separately as you do now and the column in the Data that shows the Assumption reference can be a data validation drop down.

    However please clarify if I'm misunderstanding something.

  7. #7
    Forum Contributor
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Microsoft 365, Excel, Version 2402
    Posts
    184

    Re: Need help with separating data on a Pivot report

    Hi,
    I've had another go at this. I created a normalised table of my data (see new version attached); however, as I have created x number of rows for each assumption this in turn has increased the number of records, and reports the data incorrectly. For example, in my original data set, Beef / Calves in Apr 2019 have 3 x assumptions with a monthly cost of £20,000, but now after normalising the data the monthly cost for Apr has increased to £60,000? Also, assumptions are contained / reported in the financial data - is there no way to separate these, so PT1 = Financial data and PT2 (which is linked to PT1) shows assumptions only?

    I have been thinking about this. Can Excel be used as a relational database to help me solve this problem?

    Thanks for your help so far
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Microsoft 365, Excel, Version 2402
    Posts
    184

    Re: Need help with separating data on a Pivot report

    Folks,
    How do I return unique values / counts from a dataset?

    See attached mock-up. I am using a Pivot Table to report on Beef for Apr 2019. This category has 3 x assumptions, so I've created 3 rows to record and report on each assumption. By doing this, my pivot table now shows a total of £60,000 (3 x £20,000), which is incorrect, as it should be showing £20,000. How do I fix this to show unique values and counts only?

    Thanks
    Attached Files Attached Files
    Last edited by reddwarf; 01-03-2019 at 09:28 AM. Reason: typo

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,635

    Re: Need help with separating data on a Pivot report

    If I understand correctly then, in the values field, change the field value setting from Sum of Total Cost to Average of Total Cost.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 01-11-2018, 10:10 AM
  2. Extracting data from Pivot Table Report
    By SVShankar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-11-2009, 05:48 AM
  3. Separating Pivot Table Data into Columns
    By NBVC in forum Excel General
    Replies: 2
    Last Post: 10-22-2008, 06:45 AM
  4. [SOLVED] Report choosing a Pivot table data
    By Krish in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2006, 07:15 PM
  5. [SOLVED] Extending the data range of a Pivot Report
    By Nell in forum Excel General
    Replies: 1
    Last Post: 12-16-2005, 12:10 PM
  6. Replies: 0
    Last Post: 07-27-2005, 06:05 PM
  7. need to clear data references in pivot table report
    By Mikeeusa in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-28-2005, 04:06 PM

Tags for this Thread

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