Search code examples
arraysgoogle-sheetsfiltersumgoogle-sheets-formula

Formula to Find Count of Odd Numbers in Google Sheets


I have 500 numbers (range A1:T25) and I have to find a formula to find the count of the odd numbers in that range. I do not see any way to use COUNTIF or ISODD or MOD (by 2). I am no expert in spreadsheet functions at all, so I do not know how to do this.


Solution

  • try it like this:

    =ARRAYFORMULA(COUNTIF(ISODD(A1:T25); TRUE))
    

    0


    =SUMPRODUCT(ISODD(A1:T25)) @Tom Sharpe