Hi all, long-time anon, first-time poster.
I'm a little stuck. I have a massive sheet of raw sales data that I'm trying to analyze to see if we paid what we're supposed to be paying; however, the sales data is only in a per month basis. I've figured out how to get the unit price we're paying but I also need to transfer those numbers into a more "presentation-ready" spreadsheet for the execs (they don't like to see 9000 lines of raw data for some reason). Unfortunately, I can't use VLOOKUP like normal since there are multiple lines with the same SKU (representing different purchases from different facilities at different times).
What I need is to write a macro that scans column D for repeated values and then deletes all but one row with that value in column D (and I mean delete, not hide). My VBA is kinda crap though. Any thoughts?
Thanks!
I'm a little stuck. I have a massive sheet of raw sales data that I'm trying to analyze to see if we paid what we're supposed to be paying; however, the sales data is only in a per month basis. I've figured out how to get the unit price we're paying but I also need to transfer those numbers into a more "presentation-ready" spreadsheet for the execs (they don't like to see 9000 lines of raw data for some reason). Unfortunately, I can't use VLOOKUP like normal since there are multiple lines with the same SKU (representing different purchases from different facilities at different times).
What I need is to write a macro that scans column D for repeated values and then deletes all but one row with that value in column D (and I mean delete, not hide). My VBA is kinda crap though. Any thoughts?
Thanks!