+ Reply to Thread
Results 1 to 13 of 13

SUMIFS Function

  1. #1
    Registered User
    Join Date
    07-07-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    7

    Question SUMIFS Function

    Hello guys, I need help on using SUMIFS in my excel file.

    I used this formula to calculate the "total calls" (RAW DATA'!I:I) based on the "seller name" (RAW DATA'!D:D) and it will display the totals based on the "seller name" (SELLER DRAFT'!D5) with the date range from July 01-31 (RAW DATA'!E:E,">=01/07/2015",'RAW DATA'!E:E,"<=31/7/2015").

    The full formula:

    =SUMIFS('RAW DATA'!I:I,'RAW DATA'!E:E,">=01/07/2015",'RAW DATA'!E:E,"<=31/7/2015",'RAW DATA'!D:D,'SELLER DRAFT'!D5)

    Maybe it is how I arrange the criteria.

    Thanks.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: SUMIFS Function

    Try
    =SUMIFS('RAW DATA'!I:I,'RAW DATA'!E:E,">="&DATEVALUE("01/07/2015"),'RAW DATA'!E:E,"<="&DATEVALUE("31/7/2015"),'RAW DATA'!D:D,'SELLER DRAFT'!D5)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: SUMIFS Function

    Hi,

    Your SUMIF formula seems alright to me. Do you not get the desired output when you apply this?

  4. #4
    Registered User
    Join Date
    07-07-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    7

    Re: SUMIFS Function

    Thank you so much for all your replies but, the formula doesn't have an error the only problem is that the result must be 40 but this formula returns 0.

    Thanks.

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: SUMIFS Function

    Can you post a sample file here?

  6. #6
    Registered User
    Join Date
    07-07-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    7

    Re: SUMIFS Function

    Good day,

    Thank you for the response. I have attached the sample file.

    Thank you.
    Attached Files Attached Files

  7. #7
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: SUMIFS Function

    Hi,

    The dates in column E has formatting issues because of which the SUMIF was not getting calculated. I have added a helper column to sort this out and applied the below formula & it works fine now.

    In O5:

    Please Login or Register  to view this content.
    See the attached file.
    Attached Files Attached Files

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,969

    Re: SUMIFS Function

    As was pointed out above, the dates in column E are not really dates, they are texty that looks like dates.
    If this is data that is imported from somewhere, maybe you can get the dates converted with the import (probably not though?)

    Another option would be to highlight all the data in column E, select Data/Text2Columns, make sure that Delimited is selected, click "Next" twice, then check Date and select d/m/y, click Finished.

    The should convert your text dates to real dates, and you can try your formula again
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  9. #9
    Registered User
    Join Date
    07-07-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    7

    Re: SUMIFS Function

    Good day,

    The formula is now working but the data is not displaying correctly, I have attached another file.

    Thank you.
    Attached Files Attached Files

  10. #10
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: SUMIFS Function

    Hi,

    You need to modify the formula to pick up the correct month:
    Attached Images Attached Images

  11. #11
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: SUMIFS Function

    Try the following formula in E6:

    =SUMIFS('RAW DATA MONTH'!$I:$I,'RAW DATA MONTH'!$D:$D,'SELLER BY MONTH'!$D6,'RAW DATA MONTH'!$E:$E,">="&EOMONTH(E$2,-1)+1,'RAW DATA MONTH'!$E:$E,"<="&EOMONTH(E$2,0))

    I have added a new row to separate the months in the attached file, this way you can drag the formula to other cells without modifying it.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    07-07-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    7

    Re: SUMIFS Function

    Good day,

    Thank you so much to everyone who helped solved my SUMIFS formula, it is working fine now.

    Thanks

  13. #13
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: SUMIFS Function

    You are welcome

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

    Also, you can directly thank those who have helped you by clicking on the small * (star) icon located in the lower left corner of a post that you have found to be helpful.

+ 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. [SOLVED] Using large function based on sumifs function
    By jeosen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-26-2015, 08:20 AM
  2. [SOLVED] Help with this SUMIFS function
    By husni in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2015, 01:28 AM
  3. Help nesting an OR function inside a SUMIFS function
    By wes228 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-21-2014, 06:22 PM
  4. SUMIFS Function
    By rjb59 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-21-2013, 08:52 AM
  5. [SOLVED] NEED HELP! SUMIFS function
    By thedefense in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2012, 08:47 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