+ Reply to Thread
Results 1 to 15 of 15

Count total monthly products sold(in Gms.) on google sheet

  1. #1
    Registered User
    Join Date
    09-29-2020
    Location
    Hamburg
    MS-Off Ver
    2013
    Posts
    6

    Question Count total monthly products sold(in Gms.) on google sheet

    Hello Guys!

    I am struggling with counting total quantity of each product sold in a month.

    Example: I want to have a stacked graph where I can view monthly quantity(in Size, gms) of Product A, B, C, D and E sold. Please feel free to make changes to the table accordingly.

    Here is the link to the google sheet, I would appreciate your help alot.



    Thank you!
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Count total monthly products sold(in Gms.) on google sheet

    You did not provide a link to a Google sheet, you provided an Excel file attachment. We can work on your Excel file but it doesn't guarantee the solution will be compatible with Google Sheets. If you want to ensure a Google Sheets solution, provide a link and allow read access.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    09-29-2020
    Location
    Hamburg
    MS-Off Ver
    2013
    Posts
    6

    Red face Re: Count total monthly products sold(in Gms.) on google sheet

    Hey Jeff,

    I am new here, so the platform restricts me to post any links but if you could help me with your email I can add you to the G Sheet.

    or you can use this /d/1f3I_u3SAEMPUUlBLLICjzmbwShJfX0fsmwFxcvvwX3I/edit#gid=285998313 after the www docs google spreadsheets

    https://docs.google.com/spreadsheets...#gid=285998313

    Thank you!
    Last edited by 6StringJazzer; 09-29-2023 at 05:29 PM. Reason: live link added

  4. #4
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Count total monthly products sold(in Gms.) on google sheet

    Please build out your sample file with the data table that is to be used for the graph.

    Also, for us to help in the file you should share it with Editor access, not restricted with Viewer access.

    If you are concerned about privacy, then use this form to create a file for anonymous sharing:
    https://docs.google.com/forms/d/e/1F...VbWiA/viewform
    As a gesture off appreciation, you can click * Add Reputation at the foot of any of the posts of members who helped you reach a solution.

    And finally, was your problem solved? if so, please click Thread Tools above the first post of your enquiry, then select [Solved]

  5. #5
    Registered User
    Join Date
    09-29-2020
    Location
    Hamburg
    MS-Off Ver
    2013
    Posts
    6

    Re: Count total monthly products sold(in Gms.) on google sheet

    [QUOTE=janmorris;5875659]Please build out your sample file with the data table that is to be used for the graph.

    Done, apologies it on "comment" and not "editor"

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Count total monthly products sold(in Gms.) on google sheet

    I have updated the file to extract the Products and Totals and inserted a graph.

    Let me know if that is what you were looking for.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Count total monthly products sold(in Gms.) on google sheet

    Quote Originally Posted by janmorris View Post
    Also, for us to help in the file you should share it with Editor access, not restricted with Viewer access.
    I am going to leave this up to the OP and thread participants but giving Editor access means that you could have all kinds of collisions if multiple people are trying to develop a solution at the same time.

  8. #8
    Registered User
    Join Date
    09-29-2020
    Location
    Hamburg
    MS-Off Ver
    2013
    Posts
    6

    Re: Count total monthly products sold(in Gms.) on google sheet

    Quote Originally Posted by TMS View Post
    I have updated the file to extract the Products and Totals and inserted a graph.

    Let me know if that is what you were looking for.
    Thanks for the solution man!

    Unfortunately, I am trying to get the total quantity sold each month stacked in a graph.

    So, for example: Product A size should be multiplied by the quantity(colD*colE) and added for the month. Similarly for Product B, C, D and E and then stacked up to have a graphical view of quantities of these products(A, B, C, D, E) sold on a monthly basis.

    Taking this into account, Product A was sold twice in August. Total Quantity of Product A sold in August(colD*colE) = (1000*2)+(1000*1) = 3000.
    Sly, Product B = (1000*3) = 3000
    Product C = (1000*2) = 2000
    Product D = (500*2) = 1000
    Product E = 0

    Total Quantity of Products sold(A+B+C+D+E) = 9000

    Graph view: X Axis - Aug 2023
    Y Axis - 9000

    Does it make sense?

  9. #9
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    171

    Re: Count total monthly products sold(in Gms.) on google sheet

    I added another tab (Chart 2.0) to your spreadsheet. Is this what you're looking for?

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Count total monthly products sold(in Gms.) on google sheet

    Ok, I give in. Where do you get the data for the chart? Is it directly from the source data?

  11. #11
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    171

    Re: Count total monthly products sold(in Gms.) on google sheet

    I guess I should have mentioned that, but I was just trying to see if the chart was what the OP wanted.
    I used a Pivot Table to create the chart. Sorry for the deception.

  12. #12
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Count total monthly products sold(in Gms.) on google sheet

    Ah, so the source of the data wasn't actually in the file. Fair enough.

    I was trying a different way but having a problem with the dates (US vs UK).

  13. #13
    Registered User
    Join Date
    09-29-2020
    Location
    Hamburg
    MS-Off Ver
    2013
    Posts
    6

    Re: Count total monthly products sold(in Gms.) on google sheet

    Absolutely! Thanks a lot but I have questions.
    Now that I have to use the formula in the actual sheet, I have questions:
    1. So in the pivot table how did you convert the Order Date to "Year-Month"?
    2. And in Values, how did you manage to add formula ='Size (gms)'*Quantity under Quantity Sold?

    Thank you again.

  14. #14
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    171

    Re: Count total monthly products sold(in Gms.) on google sheet

    So in the pivot table how did you convert the Order Date to "Year-Month"?
    In the PT, right click on any of the dates > create pivot date groups > choose the format you want for your grouping.
    And in Values, how did you manage to add formula ='Size (gms)'*Quantity under Quantity Sold?
    In the Values field of the PT Editor, click the ADD button > Calculated Field and enter the formula. When you reference a column, you have to use the same column header names shown in the source data. If the column name has a space, you have to put it inside single quotes.

  15. #15
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Count total monthly products sold(in Gms.) on google sheet

    Quote Originally Posted by 6StringJazzer View Post
    I am going to leave this up to the OP and thread participants but giving Editor access means that you could have all kinds of collisions if multiple people are trying to develop a solution at the same time.
    There would only be a conflict if multiple users are editing the same cells.

    When multiple people are in the file, this is easilly seen in the top right corner for anonymous animals, and it is simple to create a duplicate of sheets/tabs into which working solutions can be built.

    Multiple users editing the same Google Sheets file at the same time is commonplace, and I have never seen any conflict when multiple users are editing different sheets, nor the same sheet when it is seen that another user is active on the same cell.

    However, yes, you are right, it is up to the user if they want help in the file or not.

+ 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. Top 2 best sold products by group
    By AdrianIs in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-18-2019, 08:21 AM
  2. Replies: 6
    Last Post: 03-05-2016, 02:42 PM
  3. Counting Quantities of Products Sold
    By FSOMarc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-14-2013, 06:46 PM
  4. Summarize products sold
    By OC_KAY in forum Excel General
    Replies: 2
    Last Post: 09-13-2012, 04:38 AM
  5. 1st most common products sold, 2nd, ....10th
    By jameel30 in forum Excel General
    Replies: 6
    Last Post: 06-22-2012, 11:19 AM
  6. Create a chart only from products sold?
    By financialhost in forum Excel General
    Replies: 1
    Last Post: 03-24-2009, 05:27 PM
  7. Counting Products Sold Per Rep
    By ems.payroll in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-27-2008, 03: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