Help on Countifs with a less than or Equal to criterea

taubeam

New Member
Joined
Mar 6, 2014
Messages
49
Hello

I am trying to write a countifs where one criteria is a less than or equal to a number.

=COUNTIFS('Rep Quotas'!$G:$G,Mapping!$AA4,'Rep Quotas'!$H:$H,Mapping!$Z4,'Rep Quotas'!$D:$D,"Field",'Rep Quotas'!$BQ:$BQ,"<="&Mapping!AI$1)

Where: 'Rep Quotas'$BQ:$BQ can be null or have a number in it and that number is less than or equal to Mapping!AI$1

Every thing I've tried hasn't worked.

Please and thank you
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Your formula appears structurally correct.
What's wrong with the output specifically? Is the formula resulting with an error? A count that's too high? Too low?

Depending on your specific data, the null data in 'Rep Quotas'!$BQ:$BQ may be messing with your expected results. I'd expect your formula to treat blank cells in that column as if they were 0, so that may be adding to your count unintentionally.

HTH
 
Upvote 0
Your formula appears structurally correct.
What's wrong with the output specifically? Is the formula resulting with an error? A count that's too high? Too low?

Depending on your specific data, the null data in 'Rep Quotas'!$BQ:$BQ may be messing with your expected results. I'd expect your formula to treat blank cells in that column as if they were 0, so that may be adding to your count unintentionally.

HTH

Thanks, for confirming. I'm thinking it's the format of the "numbers" I'm translating a date to a number for the month but I didn't make it a text.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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