+ Reply to Thread
Results 1 to 18 of 18

Sumif total question for google sheets

  1. #1
    Registered User
    Join Date
    01-28-2023
    Location
    Uk
    MS-Off Ver
    Google sheets
    Posts
    12

    Sumif total question for google sheets

    I wonder if anyone would be kind enough to help with this please?

    Screen Shot 2023-03-04 at 21.40.57 (2).png

    I require a formula for column D that totals the number of sales for red at that specific time. So as displayed , Column D would be correct if the formula were present. I'm aware its a sumif and array formula but when I try, the entire range changes to the same number. I think I need a $ symbol to lock it possibly? Ive tried Youtube but am struggling a bit. Any help much appreciated.

    Many thanks,

    Chris

  2. #2
    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,466

    Re: Sumif total question for google sheets

    In Excel, Cell D3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down
    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


  3. #3
    Registered User
    Join Date
    01-28-2023
    Location
    Uk
    MS-Off Ver
    Google sheets
    Posts
    12

    Re: Sumif total question for google sheets

    Thanks for replying so quick. I have given this a go but I must be doing something wrong. I have attached my actual SS that I'm trying to achieve the before mentioned objective as my initial enquiry may not have been as detailed enough.
    Screen Shot 2023-03-04 at 23.28.09.png
    O5 needs the total of G if C=MO. So O5=0.86, O6=0.86, O7=0.11 I already have about 300 in the list so I'm hoping to start from the top and pull the formula down so it calculates it. Is that at all possible?

    Many thanks again,

    Chris

  4. #4
    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,466

    Re: Sumif total question for google sheets

    Why didn't you ask the question you wanted answering?

    Same structure as before, but adjust the ranges. O5:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down.

  5. #5
    Registered User
    Join Date
    01-28-2023
    Location
    Uk
    MS-Off Ver
    Google sheets
    Posts
    12

    Re: Sumif total question for google sheets

    Thanks ever so much. Works perfect! I thought a simple example would translate to a bigger SS, apologies for the mix up and thank you for your patience with me.

  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,466

    Re: Sumif total question for google sheets

    You're welcome.



    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Registered User
    Join Date
    01-28-2023
    Location
    Uk
    MS-Off Ver
    Google sheets
    Posts
    12

    Re: Sumif total question for google sheets

    One final question with this if I could. Now experimenting with multiple sumif criteria and not succeeding. In the original example above, what would I need for total of G when C criteria is "MO" and "MODB". I have tried =SUMIFS(C$5:C5,"MO",C$5:C5,"MODB",G$5:G5)

    Thanks again,

  8. #8
    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,466

    Re: Sumif total question for google sheets

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit …
    Corrected version
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by TMS; 03-05-2023 at 09:04 AM.

  9. #9
    Registered User
    Join Date
    01-28-2023
    Location
    Uk
    MS-Off Ver
    Google sheets
    Posts
    12

    Re: Sumif total question for google sheets

    Unfortunately it brought up ' array arguments to SUMIFS are of different size'.

  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,466

    Re: Sumif total question for google sheets

    Oops. Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  11. #11
    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,466

    Re: Sumif total question for google sheets

    Thanks for the rep.



    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  12. #12
    Registered User
    Join Date
    01-28-2023
    Location
    Uk
    MS-Off Ver
    Google sheets
    Posts
    12

    Re: Sumif total question for google sheets

    Unfortunately it's just bringing up 0 each time (no error message however).

  13. #13
    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,466

    Re: Sumif total question for google sheets

    See if this example helps.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    01-28-2023
    Location
    Uk
    MS-Off Ver
    Google sheets
    Posts
    12

    Re: Sumif total question for google sheets

    I opened the file in Apple Numbers as I don't have excel and it seems it's the same formula as the one posted before. It still returns a 0.

    Chris

  15. #15
    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,466

    Re: Sumif total question for google sheets

    I don't know how to drive Apple Numbers but, if I open the Excel file with it, it does not seem to have the correct formulas in cell A5 down. So, not surprised it doesn't work.

  16. #16
    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,466

    Re: Sumif total question for google sheets

    I also don't know how to drive Google Sheets (very well). I entered the formula in cell A5 and copied it down. It works, but only for the first condition ( MO ).

    I tried wrapping it in ARRAYFORMULA but that didn't seem to make any difference. I don't know enough about GS to experiment.

  17. #17
    Registered User
    Join Date
    01-28-2023
    Location
    Uk
    MS-Off Ver
    Google sheets
    Posts
    12

    Re: Sumif total question for google sheets

    It works in excel fine on my work PC, I had trouble pasting the formula in to Google sheets, can you post it here if possible? If it doesn't work not to worry. Thanks for all your help. I have benefited tremendously from the first part of this thread.

    Regards,

    Chris

  18. #18
    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,466

    Re: Sumif total question for google sheets

    I just opened the Excel file, selected the cell with the formula, pressed F2 to edit the formula, selected all the text of the formula and copied it. I then created a file in Google Sheets, selected the same cell and pasted the formula in. Once it was there, I just copied it from cell to cell. And I made up some data to check it.

    Good luck.

+ 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. Google Sheets: COUNTIFS until a SUMIF condition is met
    By dogfights in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 13
    Last Post: 09-14-2022, 05:48 AM
  2. Running total of times in Google Sheets
    By thetoolman in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 9
    Last Post: 01-02-2022, 12:13 PM
  3. [SOLVED] Google Sheets - Vlookup Multiple Cells Total
    By Sch123 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 11-15-2021, 10:58 PM
  4. SumIF + Large + Array in Google Sheets
    By cbhirn in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 09-14-2021, 08:10 PM
  5. [SOLVED] Google Sheets: SUMIF for 2 negative conditions
    By polgomez in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 07-19-2021, 12:35 PM
  6. Google Sheets: Sumif returns 0?
    By toml90 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 03-28-2021, 08:34 PM
  7. SUMIF with different date formats (Google Sheets)
    By djarcadian in forum Excel General
    Replies: 1
    Last Post: 08-09-2014, 08:16 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