SOLVED

L'insertion d'une ligne dans une table ne duplique pas les formules

%3CLINGO-SUB%20id%3D%22lingo-sub-1479608%22%20slang%3D%22fr-FR%22%3EInserting%20a%20line%20into%20a%20table%20does%20not%20duplicate%20the%20formulas%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1479608%22%20slang%3D%22fr-FR%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3ETo%20better%20manage%20my%20spreadsheasy%20data%2C%20I%20turned%20the%20content%20into%20a%20table.%3C%2FP%3E%3CP%3EI%20understood%20that%20when%20you%20put%20a%20line%20in%20a%20table%2C%20the%20formulas%20and%20the%20MEFC%20were%20renewed%20for%20each%20column%2C%20which%20I%20wanted.%3C%2FP%3E%3CP%3EBut%20in%20my%20case%2C%20it%20doesn't%20work%2C%20all%20the%20cells%20in%20the%20new%20line%20inserted%20are%20empty.%3C%2FP%3E%3CP%3EWhat%20have%20I%20forgotten%3F%20Thanks%20to%20you%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1479608%22%20slang%3D%22fr-FR%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1487389%22%20slang%3D%22en-US%22%3ERe%3A%20L'insertion%20d'une%20ligne%20dans%20une%20table%20ne%20duplique%20pas%20les%20formules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1487389%22%20slang%3D%22en-US%22%3EHello%20there%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20is%20most%20likely%20an%20issue%20with%20the%20Table%20not%20recognizing%20the%20formula%20as%20a%20Calculated%20Column.%20This%20is%20something%20Excel%20senses%20when%20entering%20formulas%2C%20although%20there%20is%20an%20internal%20audit%20to%20determine%20the%20data%20type%20for%20a%20column.%20Before%20I%20tell%20you%20how%20to%20force%20this%2C%20there%20is%20the%20possibility%20of%20a%20setting%20being%20off%2C%20which%20you%20should%20check.%3CBR%20%2F%3E%3CBR%20%2F%3EFile%20%26gt%3B%20Options%20%26gt%3B%20Proofing%20%26gt%3B%20AutoCorrect%20Options%20%26gt%3B%20AutoFormat%20As%20You%20Type%3A%3CBR%20%2F%3ETwo%20settings%20reside%20here%2C%20ensure%20they're%20both%20checked.%20They%20are%3A%3CBR%20%2F%3E%E2%80%A2%20Include%20new%20rows%20and%20columns%20in%20table%3CBR%20%2F%3E%E2%80%A2%20Fill%20formulas%20in%20tables%20to%20create%20calculated%20columns%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20latter%20of%20the%20above%20two%20items%20is%20the%20one%20you%20need%20checked%20for%20this%20specific%20issue.%20However%2C%20the%20former%20item%20should%20also%20be%20checked%20when%20working%20with%20Tables.%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20ensure%20a%20Table%20column%20is%20recognized%20as%20a%20Calculated%20Column%3A%3CBR%20%2F%3ECopy%20the%20formula%20in%20desired%20column.%20Any%20row.%3CBR%20%2F%3ESelect%20the%20entire%20column.%20Do%20not%20include%20headers%20or%20total%20row.%3CBR%20%2F%3EClear%20contents.%20The%20keyboard%20'Delete'%20key%20will%20do%20this%2C%20or%20right-click%20%26gt%3B%20clear%20contents.%3CBR%20%2F%3EPaste%20the%20formula%20into%20a%20single%20cell%20in%20desired%20column%2C%20confirm%20with%20ENTER.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20above%20should%20work%20for%20you.%20Ensure%20you%20are%20not%20filtering%20the%20Table%20or%20have%20any%20hidden%20rows%20when%20you%20do%20this.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1488268%22%20slang%3D%22fr-FR%22%3ERe%3A%20Inserting%20a%20line%20into%20a%20table%20does%20not%20duplicate%20the%20formulas%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1488268%22%20slang%3D%22fr-FR%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F10842%22%20target%3D%22_blank%22%3E%40Zack%20Barresse%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot!!%20Thank%20you%20very%20much%2C%20it%20works%20after%20erasing%20the%20formulas%20of%20the%20cells%20and%20copying%20these%20formulas%20in%20the%20columns%20without%20the%20header.%3C%2FP%3E%3CP%3EAnd%20what's%20also%20good%20is%20that%20the%20conditional%20layouts%20of%20the%20columns%20also%20remain%20unchanged%20when%20inserting%20a%20line.%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20going%20to%20make%20my%20job%20easier!%26nbsp%3B%20Thanks%20again%3C%2FP%3E%3CP%3EPatrick%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1489858%22%20slang%3D%22en-US%22%3ERe%3A%20L'insertion%20d'une%20ligne%20dans%20une%20table%20ne%20duplique%20pas%20les%20formules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1489858%22%20slang%3D%22en-US%22%3EJe%20suis%20content%20que%20%C3%A7a%20ait%20march%C3%A9%20pour%20toi!%20(Google%20translate%20ftw)%3C%2FLINGO-BODY%3E
New Contributor

Bonjour,

Pour mieux gérer les données de mon tableur, j'ai transformé le contenu en table.

J'avais compris que lorsque l'on insère une ligne dans un tableau, les formules et les MEFC étaient reconduites pour chaque colonnes, ce que je voulais.

Or dans mon cas, cela ne marche pas, toutes les cellules de la nouvelle ligne insérée sont vides.

Qu'ai-je oublié ? Merci à vous par avance.

3 Replies
Best Response confirmed by Pat-J (New Contributor)
Solution
Hello there,

This is most likely an issue with the Table not recognizing the formula as a Calculated Column. This is something Excel senses when entering formulas, although there is an internal audit to determine the data type for a column. Before I tell you how to force this, there is the possibility of a setting being off, which you should check.

File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type:
Two settings reside here, ensure they're both checked. They are:
• Include new rows and columns in table
• Fill formulas in tables to create calculated columns

The latter of the above two items is the one you need checked for this specific issue. However, the former item should also be checked when working with Tables.

To ensure a Table column is recognized as a Calculated Column:
Copy the formula in desired column. Any row.
Select the entire column. Do not include headers or total row.
Clear contents. The keyboard 'Delete' key will do this, or right-click > clear contents.
Paste the formula into a single cell in desired column, confirm with ENTER.

The above should work for you. Ensure you are not filtering the Table or have any hidden rows when you do this.

@Zack Barresse 

Thanks a lot !! Merci beaucoup, cela marche après avoir effacé les formules des cellules et copié ces formules dans les colonnes sans l'entête.

Et ce qui est bien aussi c'est que les mises en forme conditionnelles des colonnes restent aussi inchangées lorsque l'on insère une ligne. 

Cela va bien me simplifier la tache !  Merci encore

Patrick

Je suis content que ça ait marché pour toi! (Google translate ftw)