Countif range is less than or more than another range.

Nightcrawller

New Member
Joined
Sep 1, 2018
Messages
8
I want to count if a range of cells are less than or more than another range of cells.=countif(K12:K491, "<1.9") =countif(J12:J491, "<1.9")this is what i am using now but i want this:=countif(J14:J493<K14:K493) but its a formula phrase error.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
I want to count if a range of cells are less than or more than another range of cells.=countif(K12:K491, "<1.9") =countif(J12:J491, "<1.9")this is what i am using now but i want this:=countif(J14:J493<K14:K493) but its a formula phrase error.I am sorry i am using mobile browser and i swear i have well presented the whole thread but it just messes up.
 
Upvote 0
Thanks bro but can you tell me the point of having this (--) extra encasing bracket?
SUMPRODUCT requires numbers to work with.
J14:J493 < K14:K493 produces an array of TRUE/FALSE logical values
--( ) forces those TRUE/FALSE values to 1/0 values so SUMPRODUCT can add them.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,424
Messages
6,119,407
Members
448,894
Latest member
spenstar

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