+ Reply to Thread
Results 1 to 4 of 4

Checking a Cell value to see if it has a Match in a Row

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Checking a Cell value to see if it has a Match in a Row

    Hi all,

    In the attached worksheet I want to see if the Value in C3 has a match in Row B12:G12 and if so return "Yes" in J2 or just left blank if no match.

    Cheers
    Hammer
    Attached Files Attached Files

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

    Re: Checking a Cell value to see if it has a Match in a Row

    Hi Hammer, i cant seem to view your file. but based on your description, try:
    =IF(COUNTIF(B12:G12,C3),"Yes","")

    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

  3. #3
    Registered User
    Join Date
    09-30-2012
    Location
    Perth, Australia
    MS-Off Ver
    MSO all versions to 2007
    Posts
    30

    Re: Checking a Cell value to see if it has a Match in a Row

    Same here, can't open file.

    But alternatively try:
    Please Login or Register  to view this content.
    This will also give you the relative position of the result in your data set, allowing you to return the value using INDEX.



    Muzza68

  4. #4
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Checking a Cell value to see if it has a Match in a Row

    Thank you peoples, both work a treat.

+ 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