I'm a bit confused at one or two points, which I'll point out later, but I
think this will do what you want. I'm going to show everything as entered
into Row 2 beginning with Column A and working across the row. This leaves
Row 1 for labels/titles:
A2
62660
B2
..956
C2
=Round(A2*B2,0)
D2 (moisture factor, actually enter value or 0, we will use zero here)
0
E2
3133
F2
=IF(D2=0,C2-E2,C2*D2)
or perhaps
=IF(D2=0,C2-E2,C2-(C2*D2))
G2 (pick factor - like moisture, enter value or zero, using zero)
0
H2
3236
I2
=IF(G2=0,F2-H2,F2*G2)
or, again like moisture factor, maybe should be
=IF(G2=0,F2-H2,F2-(F2*G2))
J2
..18
K2
=I2*J2
L2
$418.81
M2
=K2-L2
(in M2 I came up with $9217.31 vs your answer, believe 9217.31 is correct)
N2
=M2/C2
(now my factor is $0.15387 to 5 decimals, .1539 to 4)
in O2
=N2/J2
my quality factor to 3 decimals is $0.855
Reason I showed two possible formulas at F2 and I2 is that I don't know what
those factors look like or how they're used. The first formula would be as
if they were a relatively large value, say .9x interpreted to mean percentage
good, but if they are small value like .0x or .1x, and interpreted to mean
percentage bad, then the 2nd formula would be the one to use.
workbook with all of this in it at:
http://www.jlathamsite.com/uploads/for_dmritter.xls