formule de calcul dans les tableaux

  • noemie.duvignau
    Demandé le 10 septembre 2025 à 07:52

    Bonjour,

    Dans le formulaire de soumission de mon formulaire en cours intitulé "Invitation - inauguration CREDATS", j'essaie d'ajouter une formule qui pourrait me comptabiliser le nombre d'inscrit à un buffet.

    Je voudrais indiquer "SI" dans les cases a cocher de mon formulaire "=" il est indiqué je confirme ma participation "ALORS" je compte "1" et ensuite je voudrais faire la somme.

    formule de calcul dans les tableaux Image 1 Screenshot 20

    La formule ci-dessous ne fonctionne pas, pouvez-vous m'indiquer ce qui ne va pas dans ma formule ?

  • Mustafa
    Répondu le 10 septembre 2025 à 09:10

    Hi noemie.duvignau,

    Thanks for reaching out to Jotform Support. Unfortunately, our French Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in French, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again

    Let me walk you through how to do this in Jotform:

    1. Assign Calculation Values: In your checkbox field where options like "je confirme ma participation" appear, assign a calculation value of 1 to that option. You can do this by selecting the checkbox field in Form Builder, clicking the gear icon for Properties, going to the Options tab, and turning on Calculation Values. Then enter 1 next to the option.
    2. Use Form Calculation Widget: Add a Form Calculation widget to your form. In the widget's formula editor, add the checkbox field. The widget will automatically sum the values of the checked options based on the calculation values you assigned.
    3. Save and Test: Save your form and test it by selecting the checkbox option "je confirme ma participation." The calculation widget should show the total count of checked boxes as a number.

    This approach avoids needing to write complex IF formulas manually. Instead, it uses the built-in calculation values and the calculation widget to sum the total participants.

    If you want to do this calculation inside Jotform Tables after submissions, you can add an Advanced Formula column that sums the numeric values of the checkbox field for each submission.

    Give this a try and let me know if you need further help.

  • noemie.duvignau
    Répondu le 10 septembre 2025 à 09:26

    Je ne veux pas que le calcul se voit dans le formulaire.

    Je veux que le calcul se fasse dans le tableau de soumission jotform avec une formule avancée dans une nouvelle colonne du tableau.

  • Mustafa
    Répondu le 10 septembre 2025 à 09:55

    Hi noemie.duvignau,

    Thanks for your clarification. To perform the calculation only in Jotform Tables and not show it on the form, you can create an Advanced Formula column in your submission table.

    Here’s how to do it:

    1. Open your form’s submission table in Jotform Tables.
    2. Add a new column by clicking the + button or selecting "Add Column."
    3. In the dialog, go to the Formula tab and select Advanced Formula.
    4. Enter a name for your new column, for example, "Number of Participants."
    5. In the formula editor, create a formula that counts the checked boxes. For example, if your checkbox field is named "Participation," you can use a formula like IF({Participation} = "je confirme ma participation", 1, 0) to assign 1 for checked and 0 for unchecked. If you have multiple options, you can sum them accordingly.
    6. Select Create Column to save the formula.

    This column will calculate the count per submission and will be visible only in your table, not on the form itself.

    For more complex calculations or summing multiple checkbox options, you can combine multiple IF statements or use addition operators inside the formula editor.

    Give this a try and let us know if you need any further assistance.

  • Frédéric Jotform Support
    Répondu le 10 septembre 2025 à 10:14

    Bonjour Noemie,

    Vous y étiez presque. Mais comme vous avez attribué des valeurs de calcul aux réponses au champ en question, il faut seulement spécifier que si le champ est égal à 1 alors 1 sinon 0, comme le montre la formule suivante:

    formule de calcul dans les tableaux Image 1 Screenshot 60

    Puis, pour avoir la somme, l'afficher au bas de la colonne, comme suit:

    1. Dans Tableaux, cliquez en bas de la colonne de la formule.formule de calcul dans les tableaux Image 2 Screenshot 71
    2. Dans le menu, choisissez Somme.formule de calcul dans les tableaux Image 3 Screenshot 82

    Et la somme s'affiche en bas:

    formule de calcul dans les tableaux Image 4 Screenshot 93

    Cependant, pour que la formule s'applique correctement, il vous faut mentionner 0 dans les valeurs de calcul des réponses à ne pas prendre en compte dans la somme. Ainsi, par exemple:

    1. Dans le Générateur de Formulaire, sélectionnez le champ et cliquez sur l'Engrenage.
    2. Dans le panneau de droite, allez à l'onglet Options.
    3. Et à la section Valeurs de calcul, remplacez les valeurs vides par zéro ou tout nombre qui pourra être prs en compte par la formule créée.formule de calcul dans les tableaux Image 5 Screenshot 104

    La somme n'en sera que plus exacte.

    Faites un essai et dites-nous comment ça se passe.

  • noemie.duvignau
    Répondu le 10 septembre 2025 à 10:50

    Ok super ca fonctionne.

    Pour ma culture personnelle, est ce que j'aurais pu obtenir le même résultat sans attribuer de valeurs de calcul aux réponses dans le formulaire ? 

  • Kyle Jotform Support
    Répondu le 10 septembre 2025 à 12:59

    Hi noemie.duvignau,

    Our French Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in French, let us know and we can have them do that. But, it might take a while until they're available again.

    Now, coming back to your question, unfortunately it won't have the same result. I wouldn’t be possible without assigning calculation values in the form. Jotform Tables relies on those numeric values to perform calculations in formula columns. Without them, checkbox selections are treated as plain text, which can’t be summed directly. Assigning values like 1 for je confirme ma participation and 0 for others ensures the formula logic works consistently and allows you to display accurate totals in your table.

  • Duvignau
    Répondu le 10 septembre 2025 à 15:34

    OK c'est très clair, merci 👍

Your Reply