+ Reply to Thread
Results 1 to 4 of 4

Multiple Criteria, Lookup & Count formula.

  1. #1
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Multiple Criteria, Lookup & Count formula.

    Hey everyone, I am stuck again.

    I am making an accident report where I need to use a Lookup and count formula (I think).
    I have two Criteria to lookup and count when a certain type of accident happens in a certain location. Obviously the location and accident type is dynamic, so I am looking for a formula that will be able to count with two lookup criteria.

    I have a more detailed explanation in the excel file which should makes things eaiser to understand.
    Attached Files Attached Files
    Last edited by JapanDave; 11-08-2010 at 03:01 AM.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Multiple Criteria, Lookup & Count formula.

    Enter this:

    Please Login or Register  to view this content.
    in cell C4, and autofill down & across.

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Multiple Criteria, Lookup & Count formula.

    Hi Dave,

    In C4 use the following formula (works in Excel 2007+):

    =COUNTIFS($G$11:$G$20,C$3,$C$11:$C$20,$B4)

    Fill down and across. If you need to be backward compatible, try SUMPRODUCT, e.g.:

    =SUMPRODUCT(--($G$11:$G$20=C$3),--($C$11:$C$20=$B4))

  4. #4
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Multiple Criteria, Lookup & Count formula.

    Thanks Guys, it worked like a charm.

+ 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