PC Review


Reply
Thread Tools Rate Thread

Automating Pivot

 
 
MCheru
Guest
Posts: n/a
 
      4th Apr 2009
I would like to create a macro that will perform the same function as a pivot
table without actually creating a pivot table. More specifically, I have 3
columns (Column A, B, and C). Every row in Columns A:B has characters that
are comprised of letters, numbers, and dashes. Every row in Column C has a
quantity that is connected to Column A:B.

For example, A1:C1 might look something like this…

A1 B1 C1
EAT-1070 IU-009T 5

Sometimes doubles will appear in Columns A:B. So the contents in A1:B1
might be found again in A12:B12 or anywhere else in Column A:B, but with a
different quantity like 3. When that happens I want the code to delete the
duplicate in A12:B12, but take the associated quantity in Column C12 which in
this instance is 3 and add it to the original quantity in C1 which is 5. As
a result A12:C12 would be deleted and A1:C1 would now look something like
this.

A1 B1 C1
EAT-1070 IU-009T 8

Can you help me?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help automating a pivot table... doj Microsoft Excel Programming 0 13th Jan 2008 09:00 PM
Automating a Pivot Table Droidy Microsoft Excel Programming 1 4th Aug 2006 01:49 AM
automating a process in pivot tables AmyTaylor Microsoft Excel Programming 0 15th Jun 2006 04:09 PM
automating a pivot table bobf Microsoft Excel Misc 1 21st Jan 2005 09:58 PM
Automating Pivot Tables =?Utf-8?B?QmFycnkgRGF2aWRzb24=?= Microsoft Access Macros 2 7th Jan 2004 05:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:40 PM.