+ Reply to Thread
Results 1 to 4 of 4

Find value within range and get it as result

  1. #1
    Forum Contributor
    Join Date
    07-16-2009
    Location
    NA
    MS-Off Ver
    MS Excel 2010
    Posts
    237

    Find value within range and get it as result

    Hi all

    I have the folowing layout

    J1 = "Nr. 8" K1 = "Bl. 44" L1 = "Sc. b" M1 = "Ap. 33"

    The above is not always in this order. I need a formula that will search the range J:M for a case insensitive string and return the found value as result.

    I tried the folosing but it doesn;t suit my needs
    Please Login or Register  to view this content.
    Thank you
    Last edited by Zaeguzah; 01-17-2011 at 07:39 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find value within range and get it as result

    Perhaps:

    Please Login or Register  to view this content.

  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: Find value within range and get it as result

    Maybe:

    =IF(ISNUMBER(MATCH("*Nr*", $J1:$M1, 0)), INDEX($J1:$M1, MATCH("*Nr*", $J1:$M1, 0)), "")


    EDIT: Ah, xl07, definitely use IFERROR() since it's available to you.
    Last edited by DonkeyOte; 01-14-2011 at 04:09 AM. Reason: edit: added missing wildcards
    _________________
    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
    07-16-2009
    Location
    NA
    MS-Off Ver
    MS Excel 2010
    Posts
    237

    Re: Find value within range and get it as result

    Thank you both for the formulas.
    DonkeyOte you are a lifesaver. Thanks again

+ 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