Hi everyone,
Can someone help me build a macro that automates the following process? I've attached a workbook that has an example. Here is a quick outline of what I'm trying to accomplish. Once someone pastes into the "Input" worksheet, and the macro takes the following steps to get to the "Output" worksheet. The data in the Input tab in columns 2, 3, and 8 are irrelevant for this so I just highlighted them as red to ignore.
1) Deletes the rows that say "Delete" in Column 4
2) Column 1 becomes Column 1 in the Output Tab with a new 4 digit number format "###0"
3) Column 5's names "Cat" and "Dog" get converted and changed to "Lion" and "Wolf", respectively
4) Column 6 in the Input tab becomes the Date column with a new format "yyyy-mm-dd" with a text string "APPEND" added onto it.
5) The values for the Number, Animal, and Date become consolidated - so there is only ONE entry per Number/Animal/Date combination. I know this manually would require SUMIFs, but I'm not sure how to incorporate this in VBA.
Of course I'd like to have these change (e.g. the headers of the Output tab, the Cat/Dog/Lion/Wolf names, and the "APPEND" text string.
Could someone assist me with this? It would be greatly appreciated
Thanks!
Bookmarks