+ Reply to Thread
Results 1 to 5 of 5

Find text "TEST" in column A1:A20 and then display the value next to it in column B

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Find text "TEST" in column A1:A20 and then display the value next to it in column B

    This is my first post here sorry if i didn't do something right

    i have a list of actions in A1:A20. if a certain action happens i need the value from column B to its right displayed in my cell (but only the most recent action)
    doc77.xlsx

    A ...... b ............. 77 displayed in this cell because A1 "test" is most recent found and 77 is the value next to it.
    test ...... 77
    no ...... 1
    no ...... 2
    no ...... 3
    test ..... . 66
    no ...... 2
    no ....... 5
    test ........ 55

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Find text "TEST" in column A1:A20 and then display the value next to it in column B

    Try VLOOKUP, i.e.

    =VLOOKUP("test",A1:B20,2,FALSE)
    Audere est facere

  3. #3
    Registered User
    Join Date
    08-20-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Find text "TEST" in column A1:A20 and then display the value next to it in column B

    wow thank you sir that was fast. now how do i make it not look for an exact match in case the cell contains "blah TEST blah"

    ---------- Post added at 04:14 PM ---------- Previous post was at 04:08 PM ----------

    never mind thanks for your help again i go it.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Find text "TEST" in column A1:A20 and then display the value next to it in column B

    @ Myers4tires

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  5. #5
    Registered User
    Join Date
    08-20-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Find text "TEST" in column A1:A20 and then display the value next to it in column B

    Thanks cutter I didnt see how to mark the thread as solved sorry. and i did use the thank system already

+ 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