+ Reply to Thread
Results 1 to 2 of 2

Assign values to items in a list

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1

    Assign values to items in a list

    Hi all,
    I receive an excel file daily with a list of jobs to be carried out. People are assigned to carry out these jobs and each person will have multiple jobs assigned to them. The jobs also have GPS coordinates and I convert the file to a .csv file to upload into a mapping app on our work phones.

    I wish to insert a new column with a formula/function which will assign a value (different colours of marker pins on the map) from a list to each person.

    The people change on a regular basis, so I would like (if possible) to have excel assign these values on a first-come-first-served basis. i.e. Excel will look at the 1st name on the list and assign the 1st value from the list to it and every subsequent occurrence of that name. It then assigns the 2nd value from the list to the 2nd unique name and every subsequent occurrence of that name. etc etc.

    It's not important that the same person has the same colour of marker pin each day. Only that we can see clusters of marker pins of the same colour so we can see where a particular person's jobs are.

    I want to go from something like this:
    A B C D E F G
    1 Job No. Assigned Staff List of Markers
    2 1245 Mark Red Pin
    3 5321 John Blue Pin
    4 4312 Mark Green Pin
    5 4367 Dave Purple Pin
    6 7532 James Yellow Pin
    7 3467 Dave Orange Pin
    8 Cyan Pin

    To this (text colour for illustration only):
    A B C D E F G
    1 Job No. Assigned Staff Assigned Marker Type List of Markers
    2 1245 Mark Red Pin Red Pin
    3 5321 John Blue Pin Blue Pin
    4 4312 Mark Red Pin Green Pin
    4 4367 Dave Green Pin Purple Pin
    5 7532 James Purple Pin Yellow Pin
    6 3467 Dave Green Pin Orange Pin
    7 Cyan Pin

    However, in tomorrow's file James might be listed 1st and be assigned the Red Pin, John listed 2nd and be assigned the Blue Pin etc etc.

    Thanks for reading, any solutions/pointers much appreciated.
    Last edited by rk1234; 01-21-2014 at 10:01 AM.

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Assign values to items in a list

    This is one way !!!
    Please Login or Register  to view this content.
    Regards Mick

+ 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] Assign values to names in a drop-down list?
    By Barry L in forum Excel General
    Replies: 5
    Last Post: 03-25-2014, 10:04 PM
  2. [SOLVED] Counting Occurrences of Items in a List Based on Separate List Values
    By wheel1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-10-2013, 01:04 PM
  3. Assign values to drop down list
    By suddenglimpse in forum Excel General
    Replies: 1
    Last Post: 03-18-2012, 08:33 PM
  4. Replies: 6
    Last Post: 09-24-2009, 03:31 PM
  5. How do I assign a set of values to a selection from a drop list?
    By Mike Bach in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-07-2006, 04:15 PM

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