I have a price list that could contain anywhere from 1 price, to up to 6 prices, based on volumes.
The program we are extracting the data from puts a header in each column with a sucessively increasing number (Price Vol #1, Price Vol #2, Price Vol #3).
I need the macro to search through these column headers, find the highest number in the header, (from example above "3") and then sort that column from lowest to highest.
I have attached a piece of my sample data (PricingList.Raw) that I need to sort. I first need to sort by part number, then by the highest price volume.
I have also attached a copy of what the data should look like (PricingList.Final). Which I manually sorted by Part number (Column A) and then Price Volume #4 (Column I).
Bookmarks