Forum Discussion

Bret33172's avatar
Bret33172
Copper Contributor
Apr 17, 2020

Formula for summing X in a column

I have a spreadsheet that I have marked columns with an X to show I have received a document. What formula can I use to add up all the cells marked with an X in that particular column>

1 Reply

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    Bret33172 

    If you want the number of cells with "x", use this:

    =COUNTIF(<range>,"x")

    If you want to sum values from one column where there is an "x" in another, use this:

    =SUMIF(<range>,"x",<sum range>)

     

Resources