Tableau Formule automatique nouvelle ligne

Copper Contributor

Bonjour,

J'ai un petit souci : j'ai créé un tableau (créé avec Excel 2007 mais je l'édite sur du 2016) avec une colonne qui doit contenir la valeur d'une formule basée sur LIGNE(). La formule fonctionne très bien ; or, si je rajoute une ligne AU MILIEU de la plage, la nouvelle ligne est vierge, la formule n'est pas récupérée (aucune formule d'ailleurs). Ma formule compense la ligne vierge correctement (ex. 301>ligne vierge>303), mais il faut absolument que la nouvelle ligne comprenne cette formule. Je préfère éviter au maximum le VBA, ce que je ne comprends pas c'est que j'ai bien créé un tableau, c'est censé reprendre les formules automatiquement ?

Merci !

2 Replies

@Perceval Did you create a structured table? Click anywhere inside your table. Do you than get a new ribbon at the top called "Table Design" (don't know what this is called in French Excel).

 

If not, you are not working with a structured Excel table. On the Home ribbon you'll find an icon like this:

Screenshot 2021-08-18 at 13.42.32.png

Alternatively, select any cell inside the data range and press Ctrl-T. Confirm whether the range has headers or not. In a structured table, all cells with a formula will replicate when you insert or add a new row at the bottom.

@Riny_van_Eekelen Hi ! Thanks for help ; it is indeed a structured table, that's why I can't understand why my formulas are not replicated. I ended up building a new table on another sheet and it works perfectly. I can't understand why, but nothing worked, but it did the trick flawlessly by creating a new table. Lost some hours on it, nevermind, now it works. 

Thanks !