Formula for summing X in a column

%3CLINGO-SUB%20id%3D%22lingo-sub-1316286%22%20slang%3D%22en-US%22%3EFormula%20for%20summing%20X%20in%20a%20column%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1316286%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20spreadsheet%20that%20I%20have%20marked%20columns%20with%20an%20X%20to%20show%20I%20have%20received%20a%20document.%20What%20formula%20can%20I%20use%20to%20add%20up%20all%20the%20cells%20marked%20with%20an%20X%20in%20that%20particular%20column%26gt%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1316286%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1317714%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20for%20summing%20X%20in%20a%20column%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1317714%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F626520%22%20target%3D%22_blank%22%3E%40Bret33172%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20want%20the%20number%20of%20cells%20with%20%22x%22%2C%20use%20this%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DCOUNTIF(%3CRANGE%3E%2C%22x%22)%3C%2FRANGE%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EIf%20you%20want%20to%20sum%20values%20from%20one%20column%20where%20there%20is%20an%20%22x%22%20in%20another%2C%20use%20this%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DSUMIF(%3CRANGE%3E%2C%22x%22%2C%3CSUM%20range%3D%22%22%3E)%3C%2FSUM%3E%3C%2FRANGE%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

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
Highlighted

@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>)