This is all assuming you're using internal standard, Hill&Howard quantification, and Rietveld. It probably works for other things, but that is the application I developed this for.
W - weight fraction (eg 0.5 = 50 wt%)
X - crystallinity (eg 0.92 = 92% crystalline)
p (subscript) - phase 'p'
s (subscript) - internal standard
a (superscript) - absolute
o (superscript) - original specimen before adding internal standard
k (superscript) - known
r (superscript) - relative
For a given phase, p, in the presence of an internal standard, s, the absolute weight fraction is given by
Wa_p = Wr_p (Wk_s X_s) / Wr_s
where Wk_s is the complete weight fraction of the standard in the specimen, and (Wk_s X_s) is the crystalline fraction.
The total amorphous fraction in the specimen with the internal standard is given by
Wa_amor = 1 - ((Wk_s X_s)/Wr_s)
But we're not normally interested in that; we want to know the weight fractions in the original sample, before the addition of standard. So we need to scale.
Wo_p = Wa_p/ (1 - Wk_s)
Wo_amor = ((1 - ((Wk_s X_s)/Wr_s)) - Wk_s (1-X_s )) / (1 - Wk_s)
(1 - ((Wk_s X_s)/Wr_s)): The absolute amorphous in the specimen with internal standard
Wk_s (1-X_s ): The amount of amorphous introduced by the internal standard
(1 - Wk_s): Scaling everything to remove the internal standard