conditional count function

Occasional Visitor



I am Trying to build a formula that counts the amount of times a TODAY() appears, on the condition that another cell on its row displays a certain text




In cell J1 i want to have a total count if Cell I5: = TODAY() and Cell M5 = "MOVE TO ALT DATE"

i want to be able to have this calculation roll down the sheet


any ideas

1 Reply

Hi @samhatchernz 


you can use the COUNTIFS function to do this:




You just need to adjust the ranges, so they fit your needs. Just note, that both ranges (in my example I5:I19 and M5:M19) need to have the same size. In other words, they need to cover the same number of lines, otherwise it will not work.