+ Reply to Thread
Results 1 to 6 of 6

Pivot with multiple tabs

  1. #1
    Registered User
    Join Date
    12-23-2017
    Location
    Alabama, USA
    MS-Off Ver
    2013
    Posts
    3

    Pivot with multiple tabs

    Hi All, I have workbook with multiple tabs and would like to use pivot table (or I am open to other options) to filter/sort the data. I have three tabs (Sheet1, Sheet2, Sheet3, etc). All three has following columns, First_Name, Last_Name, Org, and dates for for weeks (12/23/2017, 12/30/2017, 01/06/18, etc.). All three has same dates and First_Name, Last_Name, except for the values that are in dates rows.

    I used insert table properties and used "Add data to the data model" option to use multiple tables/tabs. I used following link as guidance for this task but still stuck: https://computers.tutsplus.com/tutor...ets--cms-21190

    I am unable to add dates/week-ending (12/23/2017) data from two different table into pivot table. I am getting following error: "We can't summarize this field with Sum because it's not a supported calculation for Text data types." (Both tabs has the rows set as "general" under number.)

    What I am trying to achieve is use the user name and be able to get the delta between two tabs for different individuals.

    I am open to whatever suggestions you may have. Thanks

  2. #2
    Forum Expert sandy666's Avatar
    Join Date
    02-05-2015
    Location
    Any Country
    MS-Off Ver
    farerwell
    Posts
    8,750

    Re: Pivot with multiple tabs

    Without seeing original structure and data type I can suggest to use PowerQuery, then use PivotTable if necessary

    Power Query for Excel
    Power Pivot for Excel
    Data Model Excel 2013 or here

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    or use PivotTable and Pivot Chart Wizard = Alt, D, P
    Last edited by sandy666; 12-24-2017 at 12:44 AM.
    sandy
    How to create an editor for Power Query with Notepad++ (tutorial)
    How to create timeline project with vertical today marker (2010, 2013, 2016 etc...) (examples)
    Tips for Excellent Spreadsheets

    What makes learning so hard is the amount of knowledge you have to unlearn
    Why is my program not doing what I expect?
    Because you set the wrong expectations. Rewire your brain

  3. #3
    Registered User
    Join Date
    12-23-2017
    Location
    Alabama, USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Pivot with multiple tabs

    Thanks, Sandy666.

    I am attaching sanitized copy of the workbook/data that I am working on it.

    I think the tabs pretty much self explained but, Budged_hrs and Actual_hrs are the tabs with the data (3rd tab is Actuals_hrs_Proj2 I can merge with Actual_hrs tab but would prefer separate as it now...). "CurrentPivot" tab is where my work in progress pivot table. And, 'Desiredsamplepivot' tab is what I would like the data to be look like. I want to compare delta/difference between budgeted and actual tabs for each week and totals.

    Thanks & Merry Christmas!
    Attached Files Attached Files
    Last edited by xxtino; 12-24-2017 at 11:27 AM.

  4. #4
    Forum Expert sandy666's Avatar
    Join Date
    02-05-2015
    Location
    Any Country
    MS-Off Ver
    farerwell
    Posts
    8,750

    Cool Re: Pivot with multiple tabs

    First
    CC, CD, CE columns:
    CC4: =SUMIFS($D4:$CA4,$D$3:$CA$3,$CC$3)
    CD4: =SUMIFS($D4:$CA4,$D$3:$CA$3,$CD$3)
    CE4: =$CD4-$CC4

    correct all words "actuals" because now you've "actuals_" with unnecessary space on the end
    remove all merged cells if you want to work with data properly
    use single headers not multilevel

    if you want change CC3:CF26 (or CC3:CE26 only without notes) to table (Ctrl+T) and add Totals row

    and Metric to Morado Delta:=sum(Morado_hrs[12/17/2017])-sum(Morado_hrs[12/17/2017]) will be 0 always because you subtract the same values
    Last edited by sandy666; 12-24-2017 at 01:29 PM.

  5. #5
    Registered User
    Join Date
    12-23-2017
    Location
    Alabama, USA
    MS-Off Ver
    2013
    Posts
    3
    ok, thanks, I will check your recommendations.
    Last edited by AliGW; 12-28-2017 at 04:29 AM. Reason: Unnecessary quotation removed.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2016
    Posts
    13,725

    Re: Pivot with multiple tabs

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    https://chandoo.org/forum/threads/he...3/#post-220811

+ 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