+ Reply to Thread
Results 1 to 5 of 5

Tweak array IF(ISNUMBER(FIND formula

  1. #1
    Forum Contributor
    Join Date
    07-15-2011
    Location
    Whitby, Canada
    MS-Off Ver
    Excel 2010
    Posts
    121

    Tweak array IF(ISNUMBER(FIND formula

    Hi all,

    I have a formula that is not quite capturing what I need it to....

    Formula is:

    Please Login or Register  to view this content.
    but since I didn't creat the formula, I do not have the knowledge enough to tweak it. It currently returns part of a cells contents, summed (a number value); however, I need it to return the entire contents of the cell....

    Example:
    Currently returns: 10
    Want it to return: 10 OT L1P

    Spreadsheet attached - thanks
    Attached Files Attached Files
    Last edited by Greed; 10-25-2011 at 12:59 PM. Reason: Solved

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Tweak array IF(ISNUMBER(FIND formula

    How about =HLOOKUP("*" & $R2 & "*",$B$4:$H$4,1,FALSE)

  3. #3
    Forum Contributor
    Join Date
    07-15-2011
    Location
    Whitby, Canada
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Tweak array IF(ISNUMBER(FIND formula

    Well, that does return the contents of the cell, but if there are no matching cells it returns #N/A error and I don't want that since the majority of the cells will not have a matching value....any other ideas?
    thanks

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

    Re: Tweak array IF(ISNUMBER(FIND formula

    In Excel 2003:

    =IF(ISERROR(HLOOKUP("*" & $R2 & "*",$B$4:$H$4,1,FALSE)), "", HLOOKUP("*" & $R2 & "*",$B$4:$H$4,1,FALSE))


    In Excel 2007+:

    =IFERROR(HLOOKUP("*" & $R2 & "*",$B$4:$H$4,1,FALSE), "")
    _________________
    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!)

  5. #5
    Forum Contributor
    Join Date
    07-15-2011
    Location
    Whitby, Canada
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Tweak array IF(ISNUMBER(FIND formula

    Super - thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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