You can do it either way as long and you keep your signs consistent.
Example (XT = Xc-XL)
The reactance in the circuit is equal to the absolute value of Xc-XL
If the value of XT is positive, the reactance is capacitive, if it is negative, it is inductive.
If you reverse the formula, the...