+ Reply to Thread
Results 1 to 5 of 5

using MATCH function

  1. #1
    Forum Contributor
    Join Date
    05-20-2009
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    148

    using MATCH function

    Hi guys,

    I want to check if the value in B1 is contained anywhere in column A. Do i use the match function for this?

  2. #2
    Forum Contributor
    Join Date
    06-23-2010
    Location
    Iowa, United States
    MS-Off Ver
    Excel 2007
    Posts
    145

    Re: using MATCH function

    Do you want to know how many times it is contained in column A, just whether it is contained at all, or the location where it is contained?

    Steve
    A VBA novice, excited to learn!

  3. #3
    Forum Contributor
    Join Date
    05-20-2009
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    148

    Re: using MATCH function

    Steve,

    Sorry to be more specific i want it to return the word TRUE if it's anywhere in there and FALSE if it's not

  4. #4
    Forum Contributor
    Join Date
    06-23-2010
    Location
    Iowa, United States
    MS-Off Ver
    Excel 2007
    Posts
    145

    Re: using MATCH function

    Ok consider this:

    =IF(COUNTIFS(A:A,B1)<>0,"TRUE","FALSE")

    Let me know if that works for you.

    Steve

  5. #5
    Forum Contributor
    Join Date
    05-20-2009
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    148

    Re: using MATCH function

    You're a star Steve, that's it!!

+ 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