Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old February 3rd 20, 01:09 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2018
Posts: 22
Default Multiplying columsn and addin the results

In a spreadsheet I have numbers in the first row of each column from A to ?

The numbers has to be multiplied like this A1*B1, C1*D1, E1*F1 and so on. Finally the results have to be added.

Is possible in a single formula without entering all the single multiplications in a SUM(); something like =Sum(A1*B1:AX1*AY1)?

Jan

  #2   Report Post  
Old February 4th 20, 12:05 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Dec 2015
Posts: 4
Default Multiplying columsn and addin the results

If last cell is AY1, i.e., last pair to multiply is AX1*AY1, as you wrote in your example, then try this formula:

=SUMPRODUCT(A1:AX1,B1:AY1,--(MOD(COLUMN(B1:AY1)-COLUMN(A1),2)=1))

For different range, adjust AX and AY accordingly.


On Monday, 3 February 2020 13:09:56 UTC+1, Daddy Sage wrote:
In a spreadsheet I have numbers in the first row of each column from A to ?

The numbers has to be multiplied like this A1*B1, C1*D1, E1*F1 and so on. Finally the results have to be added.

Is possible in a single formula without entering all the single multiplications in a SUM(); something like =Sum(A1*B1:AX1*AY1)?

Jan




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
Multiple Excel addin versions having LaodBehaviour issue at Addin Dwipayan Das Excel Programming 0 April 17th 09 05:51 AM
setup project for Excel addin, won't register addin Gerry Excel Programming 0 October 31st 07 01:01 AM
Combining Text in Columsn [email protected] Excel Programming 8 July 30th 07 03:30 AM
multiplying everything in line A X 50 = results in Line B Benjamin New Users to Excel 4 February 9th 07 08:10 AM
Unshimmed Automation Addin and Shimmed COM Addin in same App Domai Brandon Excel Programming 0 June 27th 06 11:18 PM


All times are GMT +1. The time now is 08:39 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017