Sum columns when cell contains text

%3CLINGO-SUB%20id%3D%22lingo-sub-1753050%22%20slang%3D%22en-US%22%3ESum%20columns%20when%20cell%20contains%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1753050%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20sum%20F3%2BG3%2BH3%20if%20B3%20contains%20text%2C%20otherwise%20leave%20the%20cell%20blank%20and%20im%20struggling%20with%20the%20formula.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1753050%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-1753108%22%20slang%3D%22en-US%22%3ERe%3A%20Sum%20columns%20when%20cell%20contains%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1753108%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F823180%22%20target%3D%22_blank%22%3E%40Lhud2300%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DIF(ISTEXT(B3)%2CSUM(F3%3AH3)%2C%22%22)%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

 

I am trying to sum F3+G3+H3 if B3 contains text, otherwise leave the cell blank and im struggling with the formula.

 

Thanks

1 Reply
Highlighted

@Lhud2300 

=IF(ISTEXT(B3),SUM(F3:H3),"")