+ Reply to Thread
Results 1 to 8 of 8

Sumif?

  1. #1
    Registered User
    Join Date
    09-09-2008
    Location
    Southampton
    Posts
    19

    Sumif?

    On the attached, Ithe Overdue By column is the number of days that an item was overdue by.

    I need to find the amount of times an item was overdue, per Estimator. If I do =SUMIF(D1:D10,D2,I1:I10) then it gives 17 (total days overdue), but I need it to give 3 (the number of times that an item was overdue for Jim).

    I put =IF(I1:I10=" ","","1") in the next column, then did the same sumif formula as above for that column, but it comes up with 0.

    Can anyone help?

    ETA: Example starts from column D, and H is hidden.
    Attached Images Attached Images
    Last edited by NBVC; 04-03-2009 at 11:20 AM.

  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?

    Try:

    =SUMPRODUCT(--($D$1:$D$10=$D2),--($A$1:$A$10=$A2),$I$1:$I$10)

    copied down
    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
    Registered User
    Join Date
    09-09-2008
    Location
    Southampton
    Posts
    19

    Re: Sumif?

    I put that in but it's coming up as 0.

  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?

    Maybe post the actual spreadsheet sample (.xls) instead of a .jpg

  5. #5
    Registered User
    Join Date
    09-09-2008
    Location
    Southampton
    Posts
    19

    Re: Sumif?

    Here you go (thanks).

    Actually I've just noticed that I didn't copy that formula down properly - however, it's giving me 17, and I need 3.
    Attached Files Attached Files
    Last edited by JessicaK; 04-03-2009 at 10:06 AM.

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

    Re: Sumif?

    See attached... You want to count... not sum.. right?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-09-2008
    Location
    Southampton
    Posts
    19

    Re: Sumif?

    thank you!

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

    Re: Sumif?

    You are welcome....

    Can you please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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