You will be able to approximate this, but likely will not be perfect. You'd need to weigh each part, and know where the center of gravity of that part is. If you do this, then your table can easily calculate the center of gravity and weight on each axle.
First, define a master datum line for calculating locations. For simplicity, make it forward of the front bumper of the vehicle, so that everything will be on the same side of the line (no negative moments).
For your spreadsheet, you will need 2 columns for data entry. First entry is the weight of the part, and the second is the distance from the master datum line. Third column will be the moment, which is the product of the first two. (moment = force x distance)
The sum of the weight and moment columns will give you the total weight and moment of your vehicle. The weight over the axles is then easily found:
D1 = distance to front axle
D2 = distance to rear axle
Wt = total weight of vehicle from the spreadsheet
Mt = total moment of vehicle from the spreadsheet
W1 = weight on front axle
W2 = weight on rear axle
W1 + W2 = Wt
(D1 * W1) + (D2 * W2) = Mt : of these, W1 and W2 are your unknowns.
So, let's make W1 = Wt - W2
we now have
(D1 * (Wt - W2)) + (D2 * W2) = Mt with only 1 unknown. We can rearrange and simplify to get:
(D1 * Wt) - (D1 * W2) + (D2 * W2) = Mt
(D2 * W2) - (D1 * W2) = Mt - (D1 * Wt)
W2 (D2 - D1) = Mt - (D1 * Wt)
and finally, we are left with
W2 = (Mt - (D1 * Wt))/(D2 - D1)
And from there, W1 = Wt - W2
The issue will likely be determining how far from the datum each part is. In this case, the distance is to the center of gravity of that part, which can get tricky.
Mike