ok, hows this for a sneaky/cheating approach? If you want all 3 numbers to exactly match that total, then just find the % for the 1st 2, using rounddown() to 2 places. then, for the 3rd value make it = the total less the sum of the 1st 2 values