+ Reply to Thread
Results 1 to 5 of 5

SUMIF problem

  1. #1
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    SUMIF problem

    Hi All,

    Can someone help with a sumif problem.

    On the attached I have a sumif formula on page 'Machine 1' in column I9. For some reason it's returning a 0 and I have no idea way!

    Any ideas...?
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIF problem

    Hello Jake - the dates in column C also include times so you don't get an exact match with the date within the SUMIF formula. The easiest way to fix is probably to change the column C formula - additional INT function will extract just the date without the time, i.e. in C9 copied down use:

    =IFERROR(INT(INDEX(Formula!H:H,MATCH(ROWS($A$9:$C9),Formula!$M:$M,0))),"")

    now your SUMIF should work as required......
    Audere est facere

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: SUMIF problem

    Or
    Please Login or Register  to view this content.
    in I9

  4. #4
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: SUMIF problem

    Brilliant! Thanks Daddylonglegs

  5. #5
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: SUMIF problem

    Oh and thank you too Pepe

    Another problem though.

    The sum if appears to be working but I ahve an example where the formula is summing up against 4 different instances of a date eg.

    25/02/2013 - 2
    25/02/2013 - 2
    25/02/2013 - 3
    25/02/2013 - 2

    obviously this should be returning 9 but is returning 0 and moving onto the next date.

    Why would it not add up?

+ 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