+ Reply to Thread
Results 1 to 6 of 6

Need a formula that counts data in one cell based on information in another cell

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2003
    Posts
    3

    Need a formula that counts data in one cell based on information in another cell

    The result I am trying to achieve will be separated in two cells. I would like to count the number of Community Service cases that are overdue and the number of Monetary Restitution cases that are overdue. On my worksheet, the community service cases and the monetary restitution cases are combined. Column E is the due date, Column F is the restitution amount ordered, Column G indicates if case is "current" or "Past Due", and Column H is number of community service hours ordered. Since list is combined, clients with monetary restitution but no community service would have the MR amount in Column F and Column H would be blank.

    Any suggestions would be appreciated. Thanks for your help!!

  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: Need a formula that counts data in one cell based on information in another cell

    Looks like to need SUMPRODUCT function.

    Can you upload a small sample workbook?
    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
    09-17-2012
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Need a formula that counts data in one cell based on information in another cell

    Here is a short sample of a worksheet. Thanks!!Sample.xls

  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: Need a formula that counts data in one cell based on information in another cell

    Sorry. I am not able to understand where and what are you trying to archieve.

  5. #5
    Registered User
    Join Date
    09-17-2012
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Need a formula that counts data in one cell based on information in another cell

    I figured it out, it did need a SUMPRODUCT formula, this is what I used:

    =SUMPRODUCT(--($H$7:$H12>0),--($G$7:$G12="Past Due"))

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Need a formula that counts data in one cell based on information in another cell

    @ tigergirl

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    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