Forum Discussion

ribamero's avatar
ribamero
Copper Contributor
Jan 18, 2023
Solved

COUNTIF cells which contain some letters

Hi everyone! I want to use the COUNTIF function to count the cells in a range that contain any of three different letters given and in any position of the string, e.g., cells that contain the letter...
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Jan 18, 2023

    ribamero Try this one:

    =SUM(COUNTIFS(A1:A10,"COLOR",B1:B10,{"G*","P*"}))

     

    Demonstrated in the attached file.