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: 30
Default More complex macro can anyone help

With the help of the good people on this group I've been able to create
about 8 macros for my company. However, now I'm being asked to create
a macro that is way out of my league. Maybe this task is too big for a
macro. I have the following columns in my spreadsheet:

A=Part Number
B=Customer
C=Sales Order Number
D=Date
E=Quantity
F=Unit Price
G=Extended Price
H=Product Type

I need to take the last three years and separate the rows by customer
and then by part number, showing the total dollars booked for each
customer/part number for each quarter. So my new spreadsheet would to
look something like this:

QTR 1 QTR 2 QTR3
QTR4
CUSTOMER #1
PART #1 $ $ $
$
PART #2 $ $ $
$
PART #3 $ $ $
$
PART #4 $ $ $
$
PART #5 $ $ $
$
PART #6 $ $ $
$

CUSTOMER #2
PART #1 $ $ $
$
PART #2 $ $ $
$
PART #3 $ $ $
$
PART #4 $ $ $
$
PART #5 $ $ $
$
PART #6 $ $ $
$

CUSTOMER #3
PART #1 $ $ $
$
PART #2 $ $ $
$
PART #3 $ $ $
$
PART #4 $ $ $
$
PART #5 $ $ $
$
PART #6 $ $ $
$


CUSTOMER=Actual Customer Name
PART NUMBER=Actual Part Number

Some customers would have 2-3 parts while others might have 20.

Is this possible with a macro and is there anyone out there who could
help me with this? I can do a basic sort. But figuring out how to get
it to total up the separate part numbers for each quarter and place
this new information all on another page has got me LOST!

I appreciate any help.

Regards,
Tahrah

 
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
complex color fill conditions- if statements or complex formula? lilly8008 Excel Discussion (Misc queries) 1 December 18th 09 04:57 AM
Problem with a complex Macro Jamie Excel Discussion (Misc queries) 2 April 21st 09 09:45 AM
complex macro?? Eqa Excel Discussion (Misc queries) 3 November 21st 07 04:05 AM
Complex formula or use a macro? Randy Excel Worksheet Functions 8 March 23rd 07 03:39 PM
Help with complex formula or macro or solution Sal Young Excel Programming 3 October 17th 05 04:25 PM


All times are GMT +1. The time now is 09:13 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"