+ Reply to Thread
Results 1 to 9 of 9

any lookup question

  1. #1
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    any lookup question

    what is the best way to locate "test" within the range A1:J10, say.

    without VBA preferably.

    many thanks in advance.

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: any lookup question

    what exactly you are trying to do ,

    =if(countif(a1:j10,"test")>=1,"Exists","No")
    If you want to count
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: any lookup question

    Quote Originally Posted by Punnam View Post
    what exactly you are trying to do ,

    =if(countif(a1:j10,"test")>=1,"Exists","No")
    If you want to count
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    i need the cell address of "test".

  4. #4
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: any lookup question

    you can see i'm very new here.

    how to one change the thread title? it was meant to be "another lookup question".

  5. #5
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: any lookup question

    deleted.
    doubled post

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: any lookup question

    you could try this formula =ADDRESS(MATCH(INDEX($A$2:$A$1004,SMALL(IF(NOT(ISERROR(SEARCH("test",$A$2:$A$1004,1)>0)),ROW($A$2:$A$1004)-ROW($A$2)+1),ROWS(A$2:A2))),$A$1:$A$1004,0),1) which is an array formula so after entering it into a cell, you hit control, shift and enter all at the same time.
    as for changing the thread title, i think you do it using the thread tools at the top of the post.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  7. #7
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: any lookup question

    Quote Originally Posted by Sambo kid View Post
    you could try this formula =ADDRESS(MATCH(INDEX($A$2:$A$1004,SMALL(IF(NOT(ISERROR(SEARCH("test",$A$2:$A$1004,1)>0)),ROW($A$2:$A$1004)-ROW($A$2)+1),ROWS(A$2:A2))),$A$1:$A$1004,0),1) which is an array formula so after entering it into a cell, you hit control, shift and enter all at the same time.
    as for changing the thread title, i think you do it using the thread tools at the top of the post.
    thanks, got #NUM error.
    that only work if "test" is in column A, how to I extend the range to A1:J10 please?

  8. #8
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: any lookup question

    try somthing like this

    Please Login or Register  to view this content.
    A1:K17 can be any range you like just change it in all areas
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  9. #9
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: any lookup question

    Quote Originally Posted by twiggywales View Post
    try somthing like this

    Please Login or Register  to view this content.
    A1:K17 can be any range you like just change it in all areas
    many thanks, that work!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Lookup question matching part of lookup value in the table array
    By kosmo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2013, 11:07 AM
  2. [SOLVED] 3 way lookup question
    By TechRetard in forum Excel General
    Replies: 2
    Last Post: 04-23-2012, 04:45 PM
  3. Lookup Question - Possible to match if the cell *contains* the lookup value?
    By AdamParker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2011, 03:30 PM
  4. 'Lookup' question
    By 3link in forum Excel General
    Replies: 11
    Last Post: 05-21-2010, 12:07 AM
  5. [SOLVED] LOOKUP question-s it possible to have LOOKUP do a calculation in the array?
    By Bob S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2006, 09:30 AM

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