+ Reply to Thread
Results 1 to 5 of 5

I enter "PRT01194" into B4, I need "CtrSt 1BL3 North" to appear in A4. Thanks

  1. #1
    Registered User
    Join Date
    09-12-2011
    Location
    Pa, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    I enter "PRT01194" into B4, I need "CtrSt 1BL3 North" to appear in A4. Thanks

    The process...

    I get an email from a printer (PRTxxxxx).
    I then enter PRTxxxxx into column "B".
    I then seach Column "I" for the printer.
    When I find the printer in column "I", I enter the value from the corresponding row of column "J" into Column "A" next to where I entered the PRTxxxx.

    For example, I enter PRT01194 into B4. I want a formula in A4 that searches Column I for the text PRT01194. When it finds it in I128, I want A4 to display J128 "CtrSt 1BL3 North."


    I'm not particularly attached to this spreadsheet method, so If you need to move things around, I don't mind, so long as when I enter PRTxxxxx I get the value from the J column that corresponds with the I column.

    If you have questions let me know. Thank you.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: I enter "PRT01194" into B4, I need "CtrSt 1BL3 North" to appear in A4. Thanks

    See attached. Note that you are asking to strip out some text, but it won't be consistent. The formula in the attached workbook doesn't strip text out but gives the exact match, if found, from the I column.
    Attached Files Attached Files
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Contributor
    Join Date
    06-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2016
    Posts
    194

    Re: I enter "PRT01194" into B4, I need "CtrSt 1BL3 North" to appear in A4. Thanks

    Hi Nbie,

    this is the classical situation for the Vlookup formula:
    In B4 you need to enter the following formula:
    =VLOOKUP(B4,I:J,2,;0)

    As a Result B4 will now have the correct value. Of cause you can simply copy the formula "down" and you will have all values for all printers.

    Regards

    Theo
    __________________
    Please consider:

    Thanking those who helped you. Click the scales icon in the upper right corner of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  4. #4
    Registered User
    Join Date
    09-12-2011
    Location
    Pa, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: I enter "PRT01194" into B4, I need "CtrSt 1BL3 North" to appear in A4. Thanks

    That worked perfectly, thanks for your efforts.

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: I enter "PRT01194" into B4, I need "CtrSt 1BL3 North" to appear in A4. Thanks

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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