Autocompleting a Sheet based on one row of information

ardykav

Board Regular
Joined
Oct 18, 2015
Messages
172
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have a tab (scheduled days to work) where I put in a persons name and what days of the week they say they want to work. What i want to do is once the data is put in like the first table below a button is pressed and it will automatically populate a whole new tab for the times they have said they will work, table 2 being the result. I am thinking its some kind of Do until function but not entirely sure,

[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Days Willing to work[/TD]
[TD]Start date[/TD]
[TD]Finish Date[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]Monday, Wednesday[/TD]
[TD]20/06/16[/TD]
[TD]31/12/16[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Days Working
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Day[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]Monday[/TD]
[TD]20/06/16[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]Wednesday[/TD]
[TD]22/06/16[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]Monday[/TD]
[TD]27/06/16[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]Wednesday[/TD]
[TD]29/06/16[/TD]
[/TR]
</tbody>[/TABLE]

These rows would repeat for this person until 31/12/16

thanks in advance
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top