google-sheetsgoogle-sheets-formula

Google Sheets multiple criteria counting formula


I would like to create a Google Sheets formula which will count and sum, how many times ONE OF the words appear in the column. i.e.I have values in Sheet1 - column A, and in Sheet2 - column A1 I would like to count (sum), how many times Google OR Yahoo OR Ask appears in Sheet1-column A, (see the example). How this can be done?

enter image description here


Solution

  • This formula should work in either Google docs or Excel

    =sum(countif(sheet1!A:A,{"Ask","Yahoo","Google"}))