Quote:
Originally Posted by Jessica
How do i calculate the difference between three amounts in percentage.
|
Hello, this is probably very late, but i thought it would save other people some time.
ammount1 = 325;
ammount2 = 400;
ammount3 = 550;
totalamt = 1275
now to calculate the perc weight of each ammount:
selectedamt/totalamt*100 = perc weight
eg:
325/1275*100=25.49019607843137
400/1275*100=31.37254901960784
550/1275*100=43.13725490196078
together it comes to 99.99*
just need to round it.