Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 21
Default multiplication macro

multiplication macro
hi there

in sheet 1 , in column c starting from c1 , i have lots of data going
downwards...

in sheet 2 i have a matrix starting from cella1 ,

number of rows in sheet 1 and 2 are same....

i want to be able to multiply cellc1 ( from sheet1 ) with sum of
columnA ( in sheet 2 , and then c2 with sum of column b , and then c3
with sum of column C and so on ...

i want to see all this sheet 3 , cell f5 onwards....


how do i do this using a mcro ?

can some one plsssss help ?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default multiplication macro

Sam,

In cell F5 of sheet3, use the formula

=Sheet1!C1*SUM(INDIRECT("Sheet2!"&ADDRESS(1,ROW()-4)&":"&ADDRESS(65536,ROW()-4)))

and copy down for as many rows as your need.

If you want to copy accross, that's a different formula.

HTH,
Bernie
Excel MVP


"Sam" wrote in message om...
multiplication macro
hi there

in sheet 1 , in column c starting from c1 , i have lots of data going
downwards...

in sheet 2 i have a matrix starting from cella1 ,

number of rows in sheet 1 and 2 are same....

i want to be able to multiply cellc1 ( from sheet1 ) with sum of
columnA ( in sheet 2 , and then c2 with sum of column b , and then c3
with sum of column C and so on ...

i want to see all this sheet 3 , cell f5 onwards....


how do i do this using a mcro ?

can some one plsssss help ?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default multiplication macro

Sam,

Here's the formula for Sheet3 cell F5 if you want to copy across.

=INDIRECT("Sheet1!C" & COLUMN()-5)*SUM(Sheet2!A:A)

HTH,
Bernie
Excel MVP


"Sam" wrote in message om...
multiplication macro
hi there

in sheet 1 , in column c starting from c1 , i have lots of data going
downwards...

in sheet 2 i have a matrix starting from cella1 ,

number of rows in sheet 1 and 2 are same....

i want to be able to multiply cellc1 ( from sheet1 ) with sum of
columnA ( in sheet 2 , and then c2 with sum of column b , and then c3
with sum of column C and so on ...

i want to see all this sheet 3 , cell f5 onwards....


how do i do this using a mcro ?

can some one plsssss help ?



Reply
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
Like SUMIFS, but for multiplication??? EricC Excel Worksheet Functions 3 January 15th 09 04:49 PM
Multiplication Danny Mac Excel Worksheet Functions 8 December 7th 06 10:28 PM
multiplication fitpeach3 Excel Worksheet Functions 2 September 19th 06 11:07 PM
Charts multiplication Valdi Charts and Charting in Excel 1 August 11th 05 09:34 PM
matrix multiplication Sam Excel Programming 3 September 17th 03 03:20 PM


All times are GMT +1. The time now is 10:20 AM.

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

About Us

"It's about Microsoft Excel"