Search code examples
arraysgoogle-sheetsfiltersumsumifs

Google sheet sumif returns 0


I am trying to use sumif function but it alwasy returns me 0, at the beggining I was using , instead ; for europe, changed that but it keeps giving me 0

enter image description here


Solution

  • use:

    =SUMIF(I1:I4; "a"; H1:H4)
    

    enter image description here

    or:

    =SUMIFS(H1:H4; I1:I4; "a")
    

    enter image description here

    or:

    =SUM(FILTER(H1:H4; I1:I4="a"))