+ Reply to Thread
Results 1 to 4 of 4

Match with countif formula

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    Laos PDR
    MS-Off Ver
    Excel 2007
    Posts
    45

    Match with countif formula

    Morning guys

    Attached is a small file in cell K4 is the formula that I have a problem with, just can't get it right.

    I basically need the formula to match one criteria and then count another criteria, one is horizontal and then other one vertical

    Can somebody pls help

    regards
    PH
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Match with countif formula

    In K4 Cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag it down and right..


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Match with countif formula

    hi PH. would be good if you can manually key in the answers you hope to see. so 1110 could be in any row? can it be repeated? for the first, try:
    =COUNTIF(INDEX($E$4:$I$8,MATCH(1110,$D$4:$D$8,0),),K$3)

    for the 2nd, use Sixthsense's method or try:
    =SUMPRODUCT(($D$4:$D$8=1110)*($E$4:$I$8=K$3))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    08-16-2012
    Location
    Laos PDR
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Match with countif formula

    Txs Sixthsense

    Works perfect

+ 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