<table class="table table-sm table-hover allLines" id="tableHoles">
<thead>
<tr>
<th scope="col" class="center"><input class="all" data-id="d1" type="checkbox"></th>
<th scope="col" class="center">№</th>
<th scope="col" class="center">Название</th>
<th scope="col" class="center">X</th>
<th scope="col" class="center">Y</th>
<th scope="col" class="center">Z</th>
<th scope="col" class="center">Глубина</th>
<th scope="col" class="center">В узле</th>
<th scope="col" class="center">Статус</th>
</tr>
</thead>
<tbody id="tableRowsHoles"></tbody>
</table>
Сделал вот таким образом. Не знаю на сколько правильно)
list.forEach( tr => tr.querySelectorAll('input')[3].value = tr.querySelectorAll('input')[1].value - tr.querySelectorAll('input')[0].value );