bonjour
j'ai trouver une solution mais un peu long :
=SI(ET(G$5<=$B5;H$5>=$B5);I$5;SI(ET(G$6<=$B5;H$6>=$B5);I$6;SI(ET(G$7<=$B5;H$7>=$B5);I$7;SI(ET(G$8<=$B5;H$8>=$B5);I$8;SI(ET(G$9<=$B5;H$9>=$B5);I$9;SI(ET(G$10<=$B5;H$10>=$B5);I$10;SI(ET(G$11<=$B5;H$11>=$B5);I$11;SI(ET(G$12<=$B5;H$12>=$B5);I$12;SI(ET(G$13<=$B5;H$13>=$B5);I$13;SI(ET(G$14<=$B5;H$14>=$B5);I$14;SI(ET(G$15<=$B5;H$15>=$B5);I$15;SI(ET(G$16<=$B5;H$16>=$B5);I$16;SI(ET(G$17<=$B5;H$17>=$B5);I$17;"")))))))))))))
avec le si imbriqué, mais pour aller au moins jusqu'à la ligne 60 (voir jusqu'à cellule vide en colonne 'G' ) sa va être long, y aurait il plus simple comme formule ?
j'ai trouver cette formule aussi :
=INDEX($I$5:$I$10;SOMMEPROD(($G$5:$G$10<=B5)*($H$5:$H$10>=B5)))
Mais sa fonctionne pas correctement, voir tableau.
merci pour vos réponse
yannick