ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   What is the BEST way to add values residing in two non-consecutiv. (https://www.excelbanter.com/excel-worksheet-functions/23517-what-best-way-add-values-residing-two-non-consecutiv.html)

lozseb

What is the BEST way to add values residing in two non-consecutiv.
 
What is the BEST way to perform the following:

(A * AA) + (B *AB)+(C * AC)+(D * AD)+......

Whe

A = Position of column
AA = Position of Column

JE McGimpsey

If I understand you correctly:

=SUMPRODUCT(A1:E1,AA1:AE1)

In article ,
lozseb wrote:

What is the BEST way to perform the following:

(A * AA) + (B *AB)+(C * AC)+(D * AD)+......

Whe

A = Position of column
AA = Position of Column


Bob Phillips

or do you mean the column number

=SUMPRODUCT(COLUMN(A1:E1),COLUMN(AA1:AE1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"JE McGimpsey" wrote in message
...
If I understand you correctly:

=SUMPRODUCT(A1:E1,AA1:AE1)

In article ,
lozseb wrote:

What is the BEST way to perform the following:

(A * AA) + (B *AB)+(C * AC)+(D * AD)+......

Whe

A = Position of column
AA = Position of Column




lozseb

THANK YOU SO VERY MUCH!!!!...

IF IT WASN'T FOR YOUR ADVICE I WOULD HAVE HAD TO WRITE A 10 (TEN) LINE
FORMULA TO ADD 66 COULUMNS....

THANK YOU AGAIN!!!!

"JE McGimpsey" wrote:

If I understand you correctly:

=SUMPRODUCT(A1:E1,AA1:AE1)

In article ,
lozseb wrote:

What is the BEST way to perform the following:

(A * AA) + (B *AB)+(C * AC)+(D * AD)+......

Whe

A = Position of column
AA = Position of Column




All times are GMT +1. The time now is 06:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com