T
tjohn176
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!!
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!!