hi Werner,
The data sheet explains it all. Vcellin is the measured voltage between cells 1 and 4. Vcellout is measured as the voltage difference between cell+ and cell-. K is then calculated.
To calibrate the cell voltage monitor amplifier gain, follow steps 1 through 6. Step 6 has the calibrated cell voltage formula.
thanks
Onyx