The input voltage of a CD4097 or an ADC must be within the power supply voltage range of it. So you can measure the first cell with one input at the battery ground which is also the CD4047 ground.
You can measure the 2nd cell with one input at the anode and the other input at the cathode and the voltmeter can be differential. But the 3rd cell's anode might be 12.6V so it needs to be reduced with something that messes up its cathode voltage.
Maybe the 3rd cell can use a voltage divider for its anode and another voltage divider for its cathode and measure the voltage differentially then amplify the resulting voltage back up to normal. Then the 4th, 5th, 6th, 7th and 8th cells also need two voltage dividers each and amplification.