+ Reply to Thread
Results 1 to 4 of 4

return text from a range

  1. #1
    Registered User
    Join Date
    03-26-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    1

    return text from a range

    Hi,

    I am looking for a formula using which returns the only text from a range. For example if the range I am interested in is column A of a worksheet, then if I type "apple" in any row of that column, this formula should return "apple". The rest of the rows in that column will be blank. Can anyone help me with this?

    Thanks,
    Rajesh

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: return text from a range

    =lookup(rept("z",255),a:a)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor Charlie_Howell's Avatar
    Join Date
    09-27-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: return text from a range

    Is this what you are looking for?
    Attached Files Attached Files

  4. #4
    Forum Contributor Charlie_Howell's Avatar
    Join Date
    09-27-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: return text from a range

    Or =IF(ISNA(LOOKUP("APPLE",List)),"",LOOKUP("APPLE",List))

+ 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