+ Reply to Thread
Results 1 to 6 of 6

Return of cell reference

  1. #1
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    286

    Return of cell reference

    How could I have the cell reference to a cell which contain a particular text.

    Example:
    In a worksheet I have a cell containing the text February.
    How can I an easy way find the cell reference which contain February?
    Any solutions ?
    Last edited by Saturn; 06-27-2010 at 04:14 AM.

  2. #2
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Wales
    MS-Off Ver
    Excel 2003
    Posts
    155

    Re: Return of cell reference

    =IF(ISNUMBER(SEARCH("February",B8)),1,"")

    Ignoring the cell reference B8 which would be whatever cell you wish to be searched, this would return a number 1 if true and "" if false. The true and false values can be altered as per the IF rules.

  3. #3
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    286

    Re: Return of cell reference

    Thanks opsman but this solution return the cell reference.
    Lets say February is a text string in cell A2, I want the result to be A2.
    How do I do that ?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Return of cell reference

    If you're looking in col A, then

    =ADDRESS(MATCH("February", A:A, 0), 1, 4)
    Entia non sunt multiplicanda sine necessitate

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

    Re: Return of cell reference

    if its only one word per cell
    then you could set up something like this
    Attached Files Attached Files
    "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

  6. #6
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    286

    Re: Return of cell reference

    Hello martindwilson
    Yes you are close to what I need. It's about one word in one cell and the reference cell consists also of one word. I want to write that word, somewhere else in the worksheet and have the cell reference where I find that word. I will look into your proposal.
    Saturn

    PS Tanks also to shg

+ 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