Nombre situé entre 2 valeurs Excel 2003

vinoflex

New Member
Joined
Aug 28, 2007
Messages
10
Je cherche une formule simple (ou pas) pour déterminé combien de fois dans une colonne on trouve un nombre situé entre 251 et 499, puis entre 500 et 999, etc. J'ai essayé plusieurs formules mais sans succès. Merci
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
J'ai une liste de nombres tel que 157, 250, 422, 499, 555. Je cherche à savoir le compte ou le nombre de fois qu'un nombre situé entre 250 et 499 se trouve dans cette liste. la réponse est 3 dans mon exemple. Merci.
 
Upvote 0
Formula en E2

=SUMPRODUCT((A$2:A$10>=C2)*(A$2:A$10<=D2))

Book1
ABCDEF
1ListFromToCompte
215712491
32502504993
44225005991
5499
6555
7
Sheet3
 
Upvote 0
Hi Barry! Thanks. Your French is much, much better than mine; so I'll use English. Here's a "dum-dum" solution that uses a much simpler approach. :wink:
  • =COUNTIF(A:A,"<=" & D2)
  • =COUNTIF(A:A,"<=" & D3)-SUM(E$2:E2)
  • =COUNTIF(A:A,"<=" & D4)-SUM(E$2:E3)
(Uses Barry's example layout.)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,970
Messages
6,175,699
Members
452,667
Latest member
vanessavalentino83

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top