Hello I recently have started a new job that requires me to use a lot of excel for my day-to-day.. I've learned so much, and I'm starting to watch videos and learn even more than I could imagine. I'm stuck though on an issue I would like to be able to automate.
I have this daily report.. It has columns with the day of the month and the date
and then it has on Column A a Task List.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]SUN[/TD]
[TD]MON[/TD]
[TD]TUE[/TD]
[TD]WED[/TD]
[TD]THURS[/TD]
[/TR]
[TR]
[TD]TASK[/TD]
[TD]1st[/TD]
[TD]2nd[/TD]
[TD]3rd[/TD]
[TD]4th[/TD]
[TD]5th[/TD]
[/TR]
[TR]
[TD]WORK[/TD]
[TD]W[/TD]
[TD]STOP[/TD]
[TD]W[/TD]
[TD]W[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]AUDIT[/TD]
[TD]STOP[/TD]
[TD]SDO[/TD]
[TD]STOP[/TD]
[TD]W[/TD]
[TD]SDO[/TD]
[/TR]
[TR]
[TD]TRAIN[/TD]
[TD]SDO[/TD]
[TD]SDO[/TD]
[TD]STOP[/TD]
[TD]W[/TD]
[TD]STOP[/TD]
[/TR]
[TR]
[TD]OTHER[/TD]
[TD]STOp[/TD]
[TD]STOP[/TD]
[TD]W[/TD]
[TD]SDO[/TD]
[TD]STOP[/TD]
[/TR]
</tbody>[/TABLE]
I would like to learn how to do two things with it. Learning will help me reproduce similar and better results for other projects too.
I would like to open the worksheet and it run a macro that says: TODAYS DATE (Example: Today is the 5th), Grab the 5th Date column, and pull all of the rows that have a task that has stop in it, paste it into another sheet, like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]TASK[/TD]
[TD]5th[/TD]
[/TR]
[TR]
[TD]TRAIN[/TD]
[TD]STOP[/TD]
[/TR]
[TR]
[TD]OTHER[/TD]
[TD]STOP[/TD]
[/TR]
</tbody>[/TABLE]
And also I would like to be able to have a macro that pulls the current month and resets the top Day and Date columns to what those would be.
So January 1 I could open it and run the macro and the 1st column would be TUES, 1st and it would update that entire row.
Further down the road, i know certain tasks are due certain days every month. So TRAIN would always be STOP on the 5th, 10th, 15th, etc.
How could I place the values once it updates the header dates?
Sorry for the loaded question.. I'm eager to learn and thanks for any tips or resources you can provide.
I have this daily report.. It has columns with the day of the month and the date
and then it has on Column A a Task List.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]SUN[/TD]
[TD]MON[/TD]
[TD]TUE[/TD]
[TD]WED[/TD]
[TD]THURS[/TD]
[/TR]
[TR]
[TD]TASK[/TD]
[TD]1st[/TD]
[TD]2nd[/TD]
[TD]3rd[/TD]
[TD]4th[/TD]
[TD]5th[/TD]
[/TR]
[TR]
[TD]WORK[/TD]
[TD]W[/TD]
[TD]STOP[/TD]
[TD]W[/TD]
[TD]W[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]AUDIT[/TD]
[TD]STOP[/TD]
[TD]SDO[/TD]
[TD]STOP[/TD]
[TD]W[/TD]
[TD]SDO[/TD]
[/TR]
[TR]
[TD]TRAIN[/TD]
[TD]SDO[/TD]
[TD]SDO[/TD]
[TD]STOP[/TD]
[TD]W[/TD]
[TD]STOP[/TD]
[/TR]
[TR]
[TD]OTHER[/TD]
[TD]STOp[/TD]
[TD]STOP[/TD]
[TD]W[/TD]
[TD]SDO[/TD]
[TD]STOP[/TD]
[/TR]
</tbody>[/TABLE]
I would like to learn how to do two things with it. Learning will help me reproduce similar and better results for other projects too.
I would like to open the worksheet and it run a macro that says: TODAYS DATE (Example: Today is the 5th), Grab the 5th Date column, and pull all of the rows that have a task that has stop in it, paste it into another sheet, like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]TASK[/TD]
[TD]5th[/TD]
[/TR]
[TR]
[TD]TRAIN[/TD]
[TD]STOP[/TD]
[/TR]
[TR]
[TD]OTHER[/TD]
[TD]STOP[/TD]
[/TR]
</tbody>[/TABLE]
And also I would like to be able to have a macro that pulls the current month and resets the top Day and Date columns to what those would be.
So January 1 I could open it and run the macro and the 1st column would be TUES, 1st and it would update that entire row.
Further down the road, i know certain tasks are due certain days every month. So TRAIN would always be STOP on the 5th, 10th, 15th, etc.
How could I place the values once it updates the header dates?
Sorry for the loaded question.. I'm eager to learn and thanks for any tips or resources you can provide.