+ Reply to Thread
Results 1 to 4 of 4

What formual to use in order to have tasks written in front of corresponding name

Hybrid View

  1. #1
    Registered User
    Join Date
    06-28-2015
    Location
    Glasgow, Scotland
    MS-Off Ver
    Office 2007
    Posts
    12

    What formual to use in order to have tasks written in front of corresponding name

    Hi everyone,

    I have a group work, and I prepared a "list A". First column contains list of tasks that should be performed, and other columns are coloured according to names of group members, showing the task they should do at a specific dates. Now I want to create a "list B" from "list A" where I have first columns with group member names and in other columns containing name of the task that each group member should at a precific date. What formula I can use to take data from "list A" to "list B". Another problem's that one person might perform several at one specific date.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: What formual to use in order to have tasks written in front of corresponding name

    This is quite tedious but I think I've managed to get what you want. I needed to create an extra table as a helper section to keep my formula sane.

    The helper table basically calculates the number of tasks a particular person has on each date. Then, to generate the list of tasks for each person, I used...

    Formula: copy to clipboard
    =IF(C18=0,"N/A",INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),1),INDEX(ROW('List A'!B$7:B$26),0),0))) &
    IF(C18>1,", " & INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),2),INDEX(ROW('List A'!B$7:B$26),0),0)),"") &
    IF(C18>2,", " & INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),3),INDEX(ROW('List A'!B$7:B$26),0),0)),"") &
    IF(C18>3,", " & INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),4),INDEX(ROW('List A'!B$7:B$26),0),0)),"") &
    IF(C18>4,", " & INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),5),INDEX(ROW('List A'!B$7:B$26),0),0)),"") &
    IF(C18>5,"...","")


    NOTE: I've also capped the number of tasks to 5 to keep the formulas sane, but it shouldn't be too difficult to extend them to higher numbers.

    See attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-28-2015
    Location
    Glasgow, Scotland
    MS-Off Ver
    Office 2007
    Posts
    12

    Re: What formual to use in order to have tasks written in front of corresponding name

    Quote Originally Posted by quekbc View Post
    This is quite tedious but I think I've managed to get what you want. I needed to create an extra table as a helper section to keep my formula sane.

    The helper table basically calculates the number of tasks a particular person has on each date. Then, to generate the list of tasks for each person, I used...

    Formula: copy to clipboard
    =IF(C18=0,"N/A",INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),1),INDEX(ROW('List A'!B$7:B$26),0),0))) &
    IF(C18>1,", " & INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),2),INDEX(ROW('List A'!B$7:B$26),0),0)),"") &
    IF(C18>2,", " & INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),3),INDEX(ROW('List A'!B$7:B$26),0),0)),"") &
    IF(C18>3,", " & INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),4),INDEX(ROW('List A'!B$7:B$26),0),0)),"") &
    IF(C18>4,", " & INDEX('List A'!$A$7:$A$26,MATCH(SMALL(INDEX((('List A'!B$7:B$26<>$B10)*1000)+ROW('List A'!B$7:B$26),0),5),INDEX(ROW('List A'!B$7:B$26),0),0)),"") &
    IF(C18>5,"...","")


    NOTE: I've also capped the number of tasks to 5 to keep the formulas sane, but it shouldn't be too difficult to extend them to higher numbers.

    See attached.
    Thanks QUEKBC a lot. You did a great work and helped me a lot to progress my work further. Highly appreciate that

  4. #4
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: What formual to use in order to have tasks written in front of corresponding name

    That's great to hear, Hunbat.

    One tiny request, can you please set the thread to solved by clicking on Thread Tools above your first post, select "Mark your thread as Solved"

+ 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] Order Form to Summarise Order on another sheet with a Submit Order Button
    By KazzICC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-01-2014, 03:25 AM
  2. Merging Tasks w/ Parts ordered for tasks
    By code870 in forum Excel General
    Replies: 0
    Last Post: 06-19-2011, 01:43 PM
  3. extraneous time in front of front of Gantt Chart
    By carsto in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-29-2011, 10:05 AM
  4. Outlook Tasks - Adding tasks from a worksheet added today or after
    By dpotta in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2010, 07:15 AM
  5. equal sign in front of date in formual bar
    By Ron 130 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-05-2006, 05:30 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