diff --git a/app/static/js/table_editor.js b/app/static/js/table_editor.js
index cfd60d1e16fdc6cd2a9d10f303caddde9d869e3e..2b6af16e09451b52e8d6277ca10e97e788b21072 100644
--- a/app/static/js/table_editor.js
+++ b/app/static/js/table_editor.js
@@ -35,7 +35,7 @@ function build_table(data) {
                 ${cellule.data}
             </div>`;
 
-        if (cellule.editable) {
+        if (cellule.style.includes("champs")) {
             sumsRessources[cellule.y] = (sumsRessources[cellule.y] ?? 0) + (parseFloat(cellule.data) || 0);
             sumsUE[cellule.x] = (sumsUE[cellule.x] ?? 0) + (parseFloat(cellule.data) || 0);
         }