Forum Discussion

Sun_H's avatar
Sun_H
Copper Contributor
Sep 13, 2022
Solved

CountIFS formula with Asterisk *

Hi all, Would appreciate your help with this formula containing CountIFS with * I want to count the number of cells containing "Campus" and "July" and then "CED" and July". For some reason the coun...
  • Riny_van_Eekelen's avatar
    Sep 14, 2022

    Sun_H 

    Try this one:

     

    =COUNTIFS(B:B,"Campus",K:K,">="&DATE(2022,7,1),K:K,"<="&DATE(2022,7,31))

     

    Column K contains real dates. Excel stores dates as sequential numbers starting at 1 on January 1, 1900. Although you have formatted the date to display as shown in the picture, the cell does not contain a text like "July 2022". You need to use proper date values (lower and upper boundary) to find dates in July 2022.

     

    Example attached.

Resources