+ Reply to Thread
Results 1 to 2 of 2

Countif/Match Index

  1. #1
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Countif/Match Index

    Hi,

    I'm having a little problem, I think I should be using match index and countif but not sure how to get the correct result,

    Please see the attached.

    What I'm wanting to do is to find for the language in A2 how many jobs under 75 Miles (D2) are there for the postcode in cell C2

    So for example using the criteria I provided it should come back with the number 3 because there was 3 jobs for mandarin in the S25 postcode under 75 miles,

    I hope I explained it properly

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Countif/Match Index

    Hi,

    In cell E2 (presume that's where you want your answer):

    =SUMPRODUCT((INDEX($B$7:$F$17,,MATCH(C2,$B$6:$F$6,0))<D2)*($A$7:$A$17=A2))

    Regards
    Click * below if this answer helped

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

+ 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