How can i make a percentage of multiple values

1. What do you want to achieve? Hello, so i want to make a percentage of 3 values and i don’t know how can i make it

2. What is the issue? I can’t manage to do it.

3. What solutions have you tried so far? I tried myself and looked on forums

1 Like

so if you have three values
val1 = 120
val2 = 340
val3 = 450

and you want to know what percent val1 is of the three values you will add them altogether
120+340+450=910

and then divide val1 by the answer
120/910=0.13186813186

this will give u a decimal to turn it into percent times it by 100

1 Like

so it will give me a percentage of my 3 values right?

yeah just following the same process

1 Like

like if i make it obvious

var1 = 100
var2 = 100
var3 = 100

we can clearly see that each var is 33.33…%

following the process:
100+100+100 = 300

100/300= 0.33333333333…
0.333…*100 = 33.33333… (33.3%)

Wait i think i explained what i want wrong

I want a global output of the 3 values like, if every value is at 100 i want the output to be a 100

Then that’s just `(a/100)*(b/100)*(c/100)*100`

1 Like

The example they provided would still evaluate to 100.

`((100 + 100 + 100) / 300) * 100 --100%`