Forum Discussion

Belsam_mzh's avatar
Belsam_mzh
Copper Contributor
Jul 17, 2021
Solved

Automatiser une tache en utilisant somme.si

Bonjour la communauté,    Je suis novice avec Excel et je tente de créer une formule pour chercher une valeur dans un tableau, puis, si elle s'y trouve, de donner un résultat.  Dans le fichier, ID...
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Jul 18, 2021

    Belsam_mzh Okay! That complicates the matter. I would put all ID's and Values in one list with an extra column for the Q-Ex-number. Then separate and focus on all IDs that exist more than three times. Remove the duplicates (i.e. where ID-1 & Q-1 equals ID-2 & Q-2). Then you are (probably) left with no more than three IDs, that you can re-join with the other data. Now you can do the SUMIF formula (SOMME.SI) as there will not be any ID with more than 3 occurrences. 

     

    Not something you do in one simple formula, I'm afraid. At least, not one I can think of right now. Personally, I would use PowerQuery. Although not difficult to learn, perhaps a bit overwhelming since you mention to be new to Excel.

     

    Have added a few chaat to your file demonstrating the steps you may have to do. Use only a very small portion of the data though.