Cris_93
New Member
- Joined
- Nov 1, 2019
- Messages
- 22
- Office Version
- 2016
- Platform
- Windows
Hello Excel masters,
I have a small issue here with populating a file. I have a macro that bring in information to one tab but what I want to develop now is a macro that takes this info from 4 columns and take it to specific tabs and place it there by date. Basically each row is a date.
Can you please explain to me how to do it with one tab and then I will try do do it for all?
So the 4 columns information are "Line", "Prod packs", "Prod Kgs" and "Headcount" this are columns "L", "M", "N" and "O". The date is in cell "A2".
For instance one of the tabs where the info needs to go is tab "Line 1". So on column "L" where the info in "Line 1", the macro needs to take the info regarding the "prod packs", "prod kgs", the"headcount" and the "date" and place it on tab "line 1" on the following columns:
"date"-column C
"Prod packs" - column T
"Prod Kgs" - column S
"Headcount" - column U
All this info needs to be copied to the last available row on each tab because that will be the next day. Also another restriction is that for the same line we can have day and night shift and the information needs to come on different rows.
Can you guys please help me with this? You can see bellow two pictures to show better the files that I'm talking about
Thank you guys,
Cristian
I have a small issue here with populating a file. I have a macro that bring in information to one tab but what I want to develop now is a macro that takes this info from 4 columns and take it to specific tabs and place it there by date. Basically each row is a date.
Can you please explain to me how to do it with one tab and then I will try do do it for all?
So the 4 columns information are "Line", "Prod packs", "Prod Kgs" and "Headcount" this are columns "L", "M", "N" and "O". The date is in cell "A2".
For instance one of the tabs where the info needs to go is tab "Line 1". So on column "L" where the info in "Line 1", the macro needs to take the info regarding the "prod packs", "prod kgs", the"headcount" and the "date" and place it on tab "line 1" on the following columns:
"date"-column C
"Prod packs" - column T
"Prod Kgs" - column S
"Headcount" - column U
All this info needs to be copied to the last available row on each tab because that will be the next day. Also another restriction is that for the same line we can have day and night shift and the information needs to come on different rows.
Can you guys please help me with this? You can see bellow two pictures to show better the files that I'm talking about
Thank you guys,
Cristian