Multiple COUNTIF ?

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Excel 2012
AB
1103
2501
3
410
550
650
7100
Sheet4
Cell Formulas
RangeFormula
B1=COUNTIF($A$4:$A$7,">"&A1)
 
Upvote 0
I cannot see your picture (site blocked for me), but you should just be able to check for the number of records greater than the larger of X and Y.

For example, if there are 20 records bigger than 5 (X) and 12 records bigger than 10 (Y), then your answer would just be 10 (since Y is bigger than X, X is inconsequential and really doesn't come into play here).
 
Upvote 0
Just do a COUNTIF of the number over 50 divided by a COUNTIF of the number over 25.
 
Upvote 0
Haha yeah. I feel stupid now! I knew it was simple but my brain was even simpler :D

Thanks for a mega quick reply! This must be the best forum in the world for support!
 
Upvote 0
Haha yeah. I feel stupid now! I knew it was simple but my brain was even simpler :D

Thanks for a mega quick reply! This must be the best forum in the world for support!
You are welcome!

No worries! We all have days like that. I usually blame it on a lack of caffeine early in the morning!;)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

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