We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Sumproduct

Navyasree123
8 - Asteroid

Hello all,Hope all are great, I have a query today

for example

percentage0.040.080.20.181
Amount 13467788954
Amount 26798765432

I need to find Total =(0.04*34)+(0.08*67)+(0.2*78)+(0.18*89)+(1*54)

How to simulate this

Thank you

5 REPLIES 5
caltang
17 - Castor
17 - Castor

Here is one way to do it:

 

Screenshot 2023-07-09 193001.png

 

If this helps, kindly mark my comment as the accepted solution. Thanks!

 

 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Navyasree123
8 - Asteroid

@caltang =SUMPRODUCT($N$6:$T$6,N8:T8) This formula i need to stimulate

N6 to T6 Range is percentages

Remaining is N8 to T8 like N9 to T9 and N10 to T10

 

 

 

caltang
17 - Castor
17 - Castor

Have you tried the workflow yet? 

 

Please try it yourself first and see what you get. In addition, a PNG is not useful unless it comes with sample data.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
rohityaman
8 - Asteroid

@Navyasree123I think what you need is to leverage the multi field formula tool to select as many rows from the source and multiply each of them with the same % values.

I'm attaching one solution here. See if that works for you.

 

SumProduct_Solution.jpg

 

binuacs
21 - Polaris

@Navyasree123 Another option using batch macro

Screenshot 2023-07-10 144224.png

Labels
Top Solution Authors