LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Automating Pivot

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?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help automating a pivot table... doj Excel Programming 0 January 13th 08 09:00 PM
automating external linked pivot table smiller600 Excel Discussion (Misc queries) 2 May 29th 07 03:55 PM
Automating a Pivot Table Droidy Excel Programming 1 August 4th 06 01:49 AM
automating a process in pivot tables AmyTaylor[_62_] Excel Programming 0 June 15th 06 04:09 PM
automating a pivot table bobf Excel Discussion (Misc queries) 1 January 21st 05 09:58 PM


All times are GMT +1. The time now is 08:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"