+ Reply to Thread
Results 1 to 8 of 8

Cannot get pivot table to work at all

  1. #1
    Registered User
    Join Date
    01-20-2019
    Location
    Blackpool
    MS-Off Ver
    2011
    Posts
    4

    Cannot get pivot table to work at all

    Hi guys,

    I have been a member on here before but don't have access to my email account linked, so registered again.

    I am trying to create a pivot table (well I have) but it is not behaving as it should be.

    Please could somebody have a look and tell me where I have gone wrong with it?

    I just want it to calculate a shopping list of items required to make meals on a large scale.

    It is not picking up any of the values at all and is displaying 0.

    I have attached the file for you to look at.

    Many thanks in advance.

    Dan
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Cannot get pivot table to work at all

    I used Power Query to arrive at what I believe you are looking for. Attached is the file. To see the steps, click on the query and select Edit.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    01-20-2019
    Location
    Blackpool
    MS-Off Ver
    2011
    Posts
    4

    Re: Cannot get pivot table to work at all

    I was only introduced to pivot tables today and couldn't suss it.

    The totals in the new sheet you have created are correct but if I edit the number of meals they stay the same.

    I really need the values of the ingredients to increase / decrease based on how many meals I am making.

    Thanks
    Last edited by Tuff Training; 01-20-2019 at 09:43 PM.

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Cannot get pivot table to work at all

    If you edit the source data in the costings sheet, you must refresh the data for it to be reflected in the output on Sheet1.

    Data -> Refresh All.

    All assuming you have Power Query add-in installed.

  5. #5
    Registered User
    Join Date
    01-20-2019
    Location
    Blackpool
    MS-Off Ver
    2011
    Posts
    4

    Re: Cannot get pivot table to work at all

    I do not have the power query option.

    Can this not be done with a pivot table?


    Thanks

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Cannot get pivot table to work at all

    Here is another solution. Copy the data in column B and paste in Column A at the bottom of your current data. I used A48. Now remove all duplicates from this new list using the built in Remove duplicates function found on the Data TAb. Now in B49 insert this formula and copy down. =SUMIF($B$2:$B$43,A49,$L$2:$L$43)

    Attached is my solution.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-20-2019
    Location
    Blackpool
    MS-Off Ver
    2011
    Posts
    4

    Re: Cannot get pivot table to work at all

    Quote Originally Posted by alansidman View Post
    Here is another solution. Copy the data in column B and paste in Column A at the bottom of your current data. I used A48. Now remove all duplicates from this new list using the built in Remove duplicates function found on the Data TAb. Now in B49 insert this formula and copy down. =SUMIF($B$2:$B$43,A49,$L$2:$L$43)

    Attached is my solution.
    This is great!! Would it be possible to put the ingredients list onto a separate sheet rather than underneath? Then I can add more meals in as I create them.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Cannot get pivot table to work at all

    Please note that we prefer you to explain what you are trying to do in your thread title. Generic titles telling us that things don't work aren't really very helpful.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Can pivot table and data table work together?
    By oscarchow1990 in forum Excel General
    Replies: 3
    Last Post: 03-28-2017, 10:33 AM
  2. Making a pivot table work with rest of a table
    By Excelfail in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-31-2015, 10:47 PM
  3. How to let Hyperlink work in pivot table?
    By freeSky in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-05-2012, 12:14 AM
  4. Break up Pivot Table to other work sheets
    By vwdevotee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2011, 03:58 AM
  5. Pivot table macro does not work
    By ben2010 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-01-2010, 07:06 PM
  6. to make a pivot table to work with an adjoining table
    By byronova in forum Excel General
    Replies: 2
    Last Post: 09-06-2009, 10:47 AM
  7. allowing pivot table to work
    By RANDY IN NC in forum Excel General
    Replies: 3
    Last Post: 06-19-2007, 05:53 PM

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