Jan 19 2022 11:18 AM
I have three variables, X, Y and Z.
I want to create a new variable (A) such that case i in A is equal to SUM OVER j [X(i) + (Z(j) * X(j))].
The SUMPRODUCT function can't handle this. How should I proceed?
Jan 19 2022 11:25 PM
With your permission, next time I suggest you provide more information.
You'll get a quicker and more accurate answer, and those who want to help don't have to invest time guessing the problem.
What I recommend: Always inform your plans about the Excel version, operating system, storage medium/hard drive, OneDrive, Sharepoint, etc.).
If possible, add a file (without sensitive data) and use this file to describe your project step by step, or add photos with the appropriate description.
Don't forget that not every Excel user has a clue about every job and don't forget that what you see he can't see.
In this link you will find some more information about it:
Welcome to your Excel discussion space!
Thank you for your understanding and patience
Jan 19 2022 11:47 PM
Jan 20 2022 09:01 AM
@NikolinoDE Many thanks for the reply, I will repost with the extra details.
Jan 20 2022 09:47 AM
Are you sure about your problem formulation? Summing X(i) over j looks odd. For me, the formula
= X*COUNT(X) + SUM(X*Z)
gives a result, but I doubt it is what you want.
[Note: CSE is required for older versions of Excel.]