+ Reply to Thread
Results 1 to 5 of 5

MATCH-function based on column number

  1. #1
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    MATCH-function based on column number

    I want to find out if a number or text exist in a column. All I know about this column is the number (i.e. 19). This number can change. Is it possible to use MATCH or something else if I only know the column number?
    Last edited by mkvassh; 10-07-2010 at 10:28 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: MATCH-function based on column number

    Not sure exactly what you mean...

    To find if a value exists in a column you can use:

    =Match("X",S:S,0)

    will look for "X" in column S.. return a position or #N/A error.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: MATCH-function based on column number

    Maybe this?

    =ISNUMBER(MATCH("mytext", INDIRECT(ADDRESS(1,19)&":"&ADDRESS(10000,19)), 0))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    Re: MATCH-function based on column number

    You suggestion will work, JBeaucaie. Thank you :-)

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: MATCH-function based on column number

    If that is the case, then this simpler and non-volatile suggestion should work too.

    =ISNUMBER(MATCH("x",INDEX(A1:Z1000,0,19),0))

+ 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