Compteur

Copper Contributor

Bonjour tout le monde !

 

J'ai besoin d'aide sur un soucis qui me pèse depuis un moment.

Voilà, j'aimerais faire un compteur.

De quel type ? 

Alors, par exemple, j'aimerais que à chaque fois que A2 et A3 ont 3, mettre un à A5.

Genre si il y a 6 dans A2 et 6 dans A3, mettre 2 à A5.

 

Si il y a 6 dans A2 et 5 dans A3, juste mettre 1 à A5, vu qu'il n'y a pas 3 et 3.

J'aimerais vraiment un truc de ce style, s'il vous plaît!!

 

Merci d'avance,

 

Cordialement,

 

Edgeer

2 Replies

@Edgeer 

 

With your permission, if I can recommend you, add a file (without sensitive data) to your project.

Explain your plans in relation to this file. So you can get a solution that is tailored to your needs much faster.

At the same time, it is much easier for someone who wants to help to understand the subject.

A win-win situation for everyone.

Please no Picture, even if it is said that a picture can say a thousand words, it is certainly not in the case of Excel, on the contrary in some case

 

* Knowing the Excel version and operating system would also be an advantage.

 

P.s: In order not to be misunderstood, in the community it is the aim of excel users to give help on their project (from Excel users), or rather, to provide food for thought and not to deliver finished work or finished ideas.

 

Nevertheless, here is a formula to get you started:

=IF(AND(A2=3),IF(A3=3,1,""))

 

 

Thank you for your understanding and patience

 

Nikolino

I know I don't know anything (Socrates)

@Edgeer 

What's about other combinations, e.g. 12 in A2 and 3 in A3 or 99 both in A2 and A3? Perhaps some more general formal logic exists?