+ Reply to Thread
Results 1 to 10 of 10

SumIF help

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    SumIF help

    Hi guys, new here, trying to get what I would have assumed is a simple SumIF formula to work, but I can't seem to produce the result I want. What I would like Excel to do is simple, in one column (A) there are dates and blanks that represent when and if a delivery has been Collected. Another (B) represents how many items there are in those deliveries. What I would like to see is a single cell with a culmination of that data. So a cell that tells me how many individual packets have been delivered.

    Another problem I have: has anyone got an idea as to how I could show, in a cell, the oldest undelivered parcel? Let's say that the date the parcel was set to leave is another column (C). I'd imagine it's the same kind of formula as above, but again I can't really seem to get any to work. Cheers guys.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SumIF help

    To attach a small sample workbook.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    07-10-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: SumIF help

    Small sample:
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SumIF help

    Not sure that i understand your goal..! Which are the expected results in column D?

  5. #5
    Registered User
    Join Date
    07-10-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: SumIF help

    What I'd like to see is 22, which is 8+1+13, ignoring the bottom 3 where there is no data, but I need the formula to expand from these specific cells to the whole column.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SumIF help

    Ok. Try.

    =SUMIFS($C$1:$C$100,$A$1:$A$100,">0",$B$1:$B$100,">0")

  7. #7
    Registered User
    Join Date
    07-10-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: SumIF help

    Yeah, that works! Thanks very much. Anyway to change it slightly so that the formula could work for about a million more rows without typing 1,000,000?

    Also out of interest, why do you need the dollar signs?

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SumIF help

    .
    ..without typing 1,000,000?
    Not like this?

    =SUMIFS($C$1:$C$1000000,$A$1:$A$1000000,">0",$B$1:$B$1000000,">0")

    ..why do you need the dollar signs?
    We use dollar signs for "locking" the range that we want..See this

  9. #9
    Registered User
    Join Date
    07-10-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: SumIF help

    Quote Originally Posted by Fotis1991 View Post
    .
    =SUMIFS($C$1:$C$1000000,$A$1:$A$1000000,">0",$B$1:$B$1000000,">0")
    Oh I see what you mean, sorry.

    In less confusing conversation: thanks very much Fotis! You've been an outstanding helper.

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SumIF help

    And this is the shorter version...

    =SUMIFS(C:C,A:A,">0",B:B,">0")

    So...

    You are welcome and thanks for the feed back.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thank you.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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