i have a spreadsheet where names are in column A and tasks are in columns B to F with dates that they are expected to be completed on
eg, on sheet!1
A B C D E F
Name task 1 task 2 task 3 task A task B
John 28/3/9 4/4/9 12/4/9 29/4/9 15/5/9
martin 15/4/9 28/4/9 11/5/9 16/5/9 29/5/9
the list is 100's of names long and is currently conditionally formatted to highlight dates between a range which is listed on sheet!2 as start and finish dates in B2 and B3
so i search through all these dates to find the ones highlighted and then carry out the task for the person.
what i want to do is create a macro that will create the list of me on sheet2 starting in cell A5 and working downwards. so on sheet2 it will get the start and finish dates from B2 and B3 and find all dates within that range and return a term which relates to the value in column A and the task in row 1.
so in the example above if my start date in B2 was 28/4/9 and my end date in B3 was 30/4/9 then it would return
Martin task 2
john task A
hope i've explained it well enough. Thanks in advance
eg, on sheet!1
A B C D E F
Name task 1 task 2 task 3 task A task B
John 28/3/9 4/4/9 12/4/9 29/4/9 15/5/9
martin 15/4/9 28/4/9 11/5/9 16/5/9 29/5/9
the list is 100's of names long and is currently conditionally formatted to highlight dates between a range which is listed on sheet!2 as start and finish dates in B2 and B3
so i search through all these dates to find the ones highlighted and then carry out the task for the person.
what i want to do is create a macro that will create the list of me on sheet2 starting in cell A5 and working downwards. so on sheet2 it will get the start and finish dates from B2 and B3 and find all dates within that range and return a term which relates to the value in column A and the task in row 1.
so in the example above if my start date in B2 was 28/4/9 and my end date in B3 was 30/4/9 then it would return
Martin task 2
john task A
hope i've explained it well enough. Thanks in advance