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: 1
Default Summing with Macro

New to macros, please help. Thank you!

A file is downloaded?/imported? into Excel 2002. It is about 5 columns
by 9,000 rows; and of course everything is just text and numbers with
no formulas. As follows:

Column A is text and B thru E are numbers. B is quantity, C is price
and D is the extended total.

I want to be able to make changes to B and C so the total in D will
change so I need to make column D a formula (B*C).

There may be a hundred of spaces in the rows between 1 and 9,000 and
each one of those breaks, which I want to represent a subtotal, has to
be summed to the top of the group of numbers just before the next
break. In other words, I need several hundred subtotals for the
particular numbers between each break (or blank space) in Column D.

One more wrinkle, this file is a parts listing for 11 companies and I
would like to have a grand total for each company (e.g. the first 20
subtotals are company 1:the next 10 are company 2 and so on to the end)
Then, I would like a Grand total of the entire file(all 11 companies)

This file is downloaded a couple times each month and needs to be
manipulated.

Can anyone help me with this sideways multiplication and bottom summing
with a macro that does not take forever to execute?

I promise, I have tried to do this on my own. Thanks!!


---
Message posted from http://www.ExcelForum.com/

 
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
Summing it up Violet 1 Excel Worksheet Functions 5 October 28th 08 08:57 PM
Macro - To Include Summing All Similar Entries steven.holloway Excel Discussion (Misc queries) 1 December 24th 07 02:07 PM
PivotTable and summing/not summing ~*Amanda*~[_2_] Excel Discussion (Misc queries) 1 March 14th 07 07:35 PM
Macro Formula For Summing Range Timmy Mac1 Excel Discussion (Misc queries) 1 February 22nd 06 06:44 PM
Summing a column in a macro gfinch Excel Programming 4 October 8th 03 10:16 AM


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