+ Reply to Thread
Results 1 to 14 of 14

sumif formula multiple criteria

  1. #1
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    sumif formula multiple criteria

    Can anyone tell me what is wrong with the formula on page 1 cell F56? it is not adding the 666 gallons at the end of column F for 426 - cc. Any ideas?
    Attached Files Attached Files
    Last edited by NBVC; 01-27-2010 at 02:08 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sumif formula

    Try:

    =SUMIFS(F$6:$F$36,$C$6:$C$36,C56,$C$6:$C$36,D56)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sumif formula

    thanks but no. Didn't work. I need it to sum a combined total for 426 and 426 - cc combined in that cell.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sumif formula

    Try:

    =SUMPRODUCT((($C$6:$C$36=C56)+($C$6:$C$36=D56)),F$6:$F$36)

    or

    Sum(Sumif($C$6:$C$36,C56,F$6:$F$36),Sumif($C$6:$C$36,D56,F$6:$F$36))

  5. #5
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: [solved]sumif formula

    YES! thank you! Now I can re-do all 31 pages of my workbook! Awsome!

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: [solved]sumif formula

    I am not sure if you know this... but...

    Since the formula in all 31 books seems to be the same and referencing the same cells and in the same position, you can change the formula in one only sheet and have it automatically change in all other sheets....

    ... Select the 1st tab, then hold the Shift key down and select the last tab.. all tabs within should be selected... now make changes... once finished, right-click any tab and select Ungroup sheets.

  7. #7
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sumif formula multiple criteria

    Thats just crazy enough to work. I'll try it!

  8. #8
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sumif formula multiple criteria

    well, some of the sheet is protected and some is not. All the sheets have the same protection. So first I have to unprotect them all (right) then make the changes as you suggest and then re-protect their specific sections per sheet right? May be easier to delete 2-31, change and re-protect 1, and then copy 31 times. ya think?

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sumif formula multiple criteria

    If all the sheets are exact replicas, then perhaps deleting all but one and copying 30 times is probably better and in the end you know that all the same....

  10. #10
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sumif formula multiple criteria

    so...just to be clear. I can't group protect or unprotect right?

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sumif formula multiple criteria

    No, not the sheets... Try selecting multiple sheets and go to Tools|Protection.. you should see that Protect Sheet is greyed out...

  12. #12
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sumif formula multiple criteria

    yes, thanks for the help. (again)!

  13. #13
    Registered User
    Join Date
    07-03-2011
    Location
    toronto,ontario
    MS-Off Ver
    Excel 2003
    Posts
    3

    need a formula to calculate membership rates based on what has been slected

    i have a club where members make customized memberships according to there needs and availability.I am attaching the spread sheet . I would really appreciate if someone can help me with the formula as I am very new to Excel formulas. Thanks very much.
    Gary
    Attached Files Attached Files

  14. #14
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sumif formula multiple criteria

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

+ 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