+ Reply to Thread
Results 1 to 5 of 5

Compiling a staff rota of names from a table array containing names assigned as letters

  1. #1
    Registered User
    Join Date
    08-13-2019
    Location
    Manchester
    MS-Off Ver
    Excel for Mac 2019 version 16.27
    Posts
    3

    Compiling a staff rota of names from a table array containing names assigned as letters

    Hi there, I am struggling to work out what formula would be suitable for the output table such that it reads the letters in each cell of the input table, retrieves the relevant name from the assigned letter from the reference table and then prints
    the names into the output cell (this could be one or multiple names depending on who is working.) see an attached example....

    Thanks in advance for your help!
    Screenshot 2019-08-13 at 09.22.53.png
    Attached Files Attached Files
    Last edited by tanners1456; 08-13-2019 at 04:47 AM.

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Compiling a staff rota of names from a table array containing names assigned as letter

    Instead of picture, attach workbook.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Compiling a staff rota of names from a table array containing names assigned as letter

    Hi

    B
    C
    D
    E
    F
    G
    H
    2
    AB
    B
    C
    D
    ID Letter
    Names
    3
    BA
    BC
    CD
    E
    A
    Alyshia
    4
    B
    James
    5
    output
    C
    Barry
    6
    Alyshia,James
    James
    Barry
    Trisha
    D
    Trisha
    7
    James,Alyshia
    James,Barry
    Barry,Trisha
    Paul
    E
    Paul



    B
    6
    =TEXTJOIN(",",1,LOOKUP(MID(B2,ROW(INDIRECT("1:"&LEN(B2))),1),$G$3:$G$7,$H$3:$H$7))
    Sheet: Sheet1

    This is array formula so needs to be accept with Ctrl+Shift+Enter, not just Enter.
    Then drag it left (to E6) and down.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Registered User
    Join Date
    08-13-2019
    Location
    Manchester
    MS-Off Ver
    Excel for Mac 2019 version 16.27
    Posts
    3

    Re: Compiling a staff rota of names from a table array containing names assigned as letter

    That seems to work, but does not print multiple names in the same cell.

    For example the first cell AB, should read "Alyshia, James."

    Any ideas how to get it to work for multiple names?
    Attached Files Attached Files

  5. #5
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Compiling a staff rota of names from a table array containing names assigned as letter

    as you see in my post in B6, I've got Alyshia, James so works with multiple (also B7, C7 or D7).
    Did you accept formula with Ctrl+Shift+Delete?
    Does Mac Excel works with TEXTJOIN function?

+ 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. Help with a formula for populating a rota with names
    By alexleesonmill in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-09-2017, 08:20 AM
  2. [SOLVED] how do I get my staff rota to add number of staff on duty
    By dougers1 in forum Excel General
    Replies: 2
    Last Post: 07-20-2017, 05:18 AM
  3. Dropping names through a rota
    By Jonboi307 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-17-2017, 06:16 PM
  4. Replies: 14
    Last Post: 05-23-2015, 06:26 AM
  5. [SOLVED] Staff Rota Array: Evaluate Multiple Columns
    By JoeByrne in forum Excel General
    Replies: 4
    Last Post: 04-25-2012, 01:01 PM
  6. Create array of file names/sheet names
    By BVHis in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-06-2008, 11:30 AM
  7. Work Rota:randomises the names
    By Belter in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-04-2006, 11:25 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