Hello All,
I am new here, and fairly new to VB programming. Using VB I want to create a pivot table and for the life of me I can't find out how to do it. I have posted on other sites to no avail and was linked here to pose the same question.
I have a worksheet titled "Order" where I want all of the unique information in Column A in the Row section of the Pivot and all of the information in column F in the data section. What this should give me is a list of unique numbers from column A and the corresponding average of those numbers from column F below is an example
Column A - Column F
M1 - 100
M2 - 200
M3 - 150
M1 - 150
M1 - 125
Output would then be
M1 125
M2 200
M3 150
I hope that this makes sense. I saw somewhere that you can't do pivots in VB, but then it appeared to me that I saw an example of someone using it. Following the example though I couldn't replicate the function in my program.
Any assistance would be greatly appreciated
Bookmarks