HarryHarry
New Member
- Joined
- Sep 30, 2021
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Hello guys,
I'm new to macros and I need something for work which has been doing my head in, I can't figure it out.
I have a sheet with 1500 entries/rows. The column S contains frequency for each entry (monthly, quarterly, weekly...).
I need a macro that will check the column S and if it sees 'Monthly' then it will duplicate the row 11 times to get 12 in total, if quarterly then duplicate it 3 times to get 4 and so on for each row.
Furthermore I need to add a column next to the column S to indicate the number of the month per each row as well
Would anyone be kind enough to help me before I go insane?
Thanks a lot!
I'm new to macros and I need something for work which has been doing my head in, I can't figure it out.
I have a sheet with 1500 entries/rows. The column S contains frequency for each entry (monthly, quarterly, weekly...).
I need a macro that will check the column S and if it sees 'Monthly' then it will duplicate the row 11 times to get 12 in total, if quarterly then duplicate it 3 times to get 4 and so on for each row.
Furthermore I need to add a column next to the column S to indicate the number of the month per each row as well
Would anyone be kind enough to help me before I go insane?
Thanks a lot!