Howdy all!
I'm trying to build a workbook that will read from a raw data table and consolidate into a second table.
I've included a test page "Array VBA Help" and the actual workbook I'm trying to build (with a handful of sample entries) "Count Sheet Test (1)".
Objectives:
Have a macro that will
1) Copy all of the static information from the raw data table (columns A and C in this example, more in my actual data), and paste them into the Export table, skipping blanks.
2) Remove duplicates from the Export table
((I have code to do this first part, though it's not very elegant))
3) Calculate the total quantity of an item in a location and the total reserves of that item in that locationPlease Login or Register to view this content.
((I have very inefficient code for this part))
4) Find and display the maximum unit price of an itemPlease Login or Register to view this content.
5) Calculate the aggregate value of the item across all locations at the maximum item value.
I know parts 1 and 2 can be done very quickly (and probably better than I have).
I'm pretty sure parts 3 and 5 are also easy code.
Part 4, though is the beast that I don't have any concept of how to tackle.
Bookmarks