Forum Discussion

Stef85's avatar
Stef85
Copper Contributor
Jun 01, 2023
Solved

Cumul de comptage produit sur fonction SI

Good morning,

 

I wish to cumulate the total quantity of identical reference of material installed on the lines.

 

I have a database tab with all my material references and other tabs one per production line with in table different machines with a quantity of materials associated with my production machine.

 

The concern when the hardware reference appears on different machines gives me the result that the accumulation of the first line instead of accumulating the hardware present on all my machines.

 

Example in K50 the MOVITRAC B material gives me a result of 1 instead of 20.

 

Here is my formula for the K50:

=IF(COUNT.IF('ligne 1'!$O$9:$O$200,$G50),LOOKUPX($G50;'LINE 1'!$O$9:$O$200;'LINE 1'!$M$9 :$M$200);"")

 

 

 

 

 

  • Bonjour,

     

    RechercheX renvoie une valeur pas une somme.

     

    Pour ne pas utiliser somme.si ou somme.si.ens ?

     

    somme.si.ens('ligne1'!$m$9:$m$200;'ligne1'!$o9:$o$200;$g50)

     

     

    Stef85 

2 Replies

  • Hecatonchire's avatar
    Hecatonchire
    Iron Contributor

    Bonjour,

     

    RechercheX renvoie une valeur pas une somme.

     

    Pour ne pas utiliser somme.si ou somme.si.ens ?

     

    somme.si.ens('ligne1'!$m$9:$m$200;'ligne1'!$o9:$o$200;$g50)

     

     

    Stef85 

    • Stef85's avatar
      Stef85
      Copper Contributor

      Hecatonchire 

       

      Merci j'ai refait toute ma formule avec le SOMME.SI.ENS et ça fonctionne et c'est plus simple à lire.

       

      Encore merci 🙂

Resources