Why count ifs formula returns zero

flare9x

Board Regular
Joined
Jan 29, 2016
Messages
120
Hello all

I have this formula:

=COUNTIFS(B3:B23496,"Monday",M3:M23496,"True")

The logic looks correct - however the result is zero.... not sure why

B is text... Monday to Friday.... and then column M is and =if the number is higher than yesterday say true or false...

any ideas?
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
This is what worked with the original formula:

=IF(L5>L4,TRUE)

Awesome - thanks again!

You are welcome.

By the way,

=L5>L5

is a comparison. Such always delivers a truth value, i.e. either TRUE or FALSE. So the surrounding IF is not needed, also for reasons of efficiency.
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,794
Members
449,468
Latest member
AGreen17

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