+ Reply to Thread
Results 1 to 4 of 4

Pull content of cells with text that ends in specific characters out of several columns

  1. #1
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    266

    Pull content of cells with text that ends in specific characters out of several columns

    Hi,

    I am trying to pull content of cells with text that ends in specific characters out of several columns of data. What I want is colum G to display the one name in the row that has TREE at the end. I am trying something with RIGHT(XX, 4) but can't get a lookup to work for it. can you help, here is an example file...
    Book1.xlsx
    Last edited by caliskier; 04-05-2012 at 04:57 PM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Pull content of cells with text that ends in specific characters out of several column

    Try This out and let me know how it works for you

    =INDEX(B3:E3,MATCH("*TREE",B3:E3,0))

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    Kuwait
    MS-Off Ver
    Office 365
    Posts
    2,200

    Re: Pull content of cells with text that ends in specific characters out of several column

    Also,

    =HLOOKUP("*TREE",B3:E3,1,0)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    266

    Re: Pull content of cells with text that ends in specific characters out of several column

    Thanks, I used the HLOOKUP one, but I am sure the index would have worked as well. I did not know you could use lookups that way.

+ 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