+ Reply to Thread
Results 1 to 11 of 11

text in a list to equal many different values

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Western Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    text in a list to equal many different values

    Hi all,

    I am new to this forum, I apologise if the title is incorrect in what iam askin for

    1)My problem is i have a list in sheet 2 that have made into a list via data validation e.g column a has a supervisor (a1) apprenctice (a2) Trades assistant (a3)

    i have made this into a list and named it labour.

    what i need to figure out is when i data validate a cell with the Labour list, i want so when i pick supervisor it will return a predetermined (example below) value in another.

    A B
    supervisor 100
    apprentice 80
    Trades Assistant 70

    (c3) (c4)
    (list) Supervisor 100

    I hope this clear

    thanks in advance

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: text in a list to equal many different values

    Hi and welcome to the forum

    If I understand you correctly, you need to use vlookup() in your other cell....

    =vlookup(A1,A1:B3,2,0)

    where A1 = supervisor (for instance)
    A1:B3 is the range containing the names and the values
    ,2, is the 2nd column ()with the values)
    ,0) is for an exact match

    Adjust references to suite
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: text in a list to equal many different values

    hopefully this is what you want

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: text in a list to equal many different values

    @ rcm...were you refering to my suggestion, or did you try to offer 1 of your own (or maybe try to upload a file?)

  5. #5
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: text in a list to equal many different values

    I forgot to upload the file containing my approach to the question

  6. #6
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: text in a list to equal many different values

    this is a sample file
    Attached Files Attached Files

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: text in a list to equal many different values

    OK I figured it was something like that

  8. #8
    Registered User
    Join Date
    06-18-2013
    Location
    Western Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: text in a list to equal many different values

    Example 1.xlsxHi thansk for the reply

    Iam not explaining it very well i have attached the problem

    Thanks again

  9. #9
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: text in a list to equal many different values

    add this code to cell c16

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    06-18-2013
    Location
    Western Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: text in a list to equal many different values

    Thanks that is awesome

  11. #11
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: text in a list to equal many different values

    you are most welcome. please mark your post as solved

+ 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