+ Reply to Thread
Results 1 to 3 of 3

using prefix print the related information

  1. #1
    Registered User
    Join Date
    10-03-2014
    Location
    brisbane
    MS-Off Ver
    MS office 2007
    Posts
    4

    using prefix print the related information

    Hi All
    Good morning!

    I have a query. that I am having a some list of jobcodes in A column and the related team information is available in C column. Here for each job code we have numeric prefix ie., 1jon, 1pra, 2coy.... and the each prefix has assigned one team means 1-Black, 2-red. here my question is shall we print the team name in column C by using prefix at column A. please find the attached xls.

    Thanks and regards.
    Kiran
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: using prefix print the related information

    C2:

    =VLOOKUP(LEFT(A2)*1,$G$2:$H$5,2,0)

    and copy down

    This pulls the first character of the string, multiplies it times 1 to make it a number, and then looks it up in G2:G5, and returns the respective value in the 2nd column.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    10-03-2014
    Location
    brisbane
    MS-Off Ver
    MS office 2007
    Posts
    4

    Thumbs up Re: using prefix print the related information

    Thanks, It's working

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Display all the related content when i search for a particular information
    By vignesh805 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-13-2013, 05:32 AM
  2. Replies: 6
    Last Post: 11-22-2012, 09:56 AM
  3. Print titles must be contiguous VBA Related Error
    By yawnzzzz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2010, 09:24 AM
  4. [SOLVED] How does one sort a block of inter-related information in Excel?
    By jets in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2006, 12:20 AM
  5. [SOLVED] SUMIF other related field contains certain information
    By Sunantoro in forum Excel General
    Replies: 3
    Last Post: 09-19-2005, 05:05 AM

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