+ Reply to Thread
Results 1 to 3 of 3

Help using SUMIF and SUM in one cell

  1. #1
    Registered User
    Join Date
    04-08-2012
    Location
    Boston
    MS-Off Ver
    Excel 2008
    Posts
    4

    Help using SUMIF and SUM in one cell

    I am using the SUMIF function to add values in a column that meet the criteria of another column using this basic method:

    =SUMIF(K9:K95,"Production General",M9:M95)

    However, I want to include multiple 'K' columns and multiple 'M' columns from other Sheets within my Workbook.

    I tried using this formula, but it is not working:

    =SUMIF((SUM('January Log'!K9:K113,'February Log'!K9:K95,'March Log'!K9:K95,'April Log'!K9:K95,'May Log'!K9:K95,'June Log'!K9:K95,'July Log'!K9:K95,'August Log'!K9:K95,'September Log'!K9:K95,'October Log'!K9:K95,'November Log'!K9:K95,'December Log'!K9:K95)),"Production General",(SUM('January Log'!M9:M113,'February Log'!M9:M95,'March Log'!M9:M95,'April Log'!M9:M95,'May Log'!M9:M95,'June Log'!M9:M95,'July Log'!M9:M95,'August Log'!M9:M95,'September Log'!M9:M95,'October Log'!M9:M95,'November Log'!M9:M95,'December Log'!M9:M95)))

    Can anyone suggest a better way, or point out the error(s) in my formula?

    Many thanks!

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Help using SUMIF and SUM in one cell

    Hello

    Try this.

    Please Login or Register  to view this content.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    04-08-2012
    Location
    Boston
    MS-Off Ver
    Excel 2008
    Posts
    4

    Re: Help using SUMIF and SUM in one cell

    Works! Thank you so much!!

+ 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