Forum Discussion
nvega
Dec 05, 2019Copper Contributor
how to sum contents 2 separate columns with text
I am trying to sum the number of cells with text or any values in them across 2 separate columns. So in the attachment, I'm looking to add any values in ranges (A3:A409) and (D3:D409) and calculate ...
- Dec 05, 2019The COUNTA function counts the number of non-empty cells in a range, so a formula like this one should do it:
=COUNTA(A3:A40)+COUNTA(D3:D40)
nvega
Dec 05, 2019Copper Contributor
Yes in the ranges provided for each column (excluding the top 2 header rows).
JKPieterse
Dec 05, 2019Silver Contributor
The COUNTA function counts the number of non-empty cells in a range, so a formula like this one should do it:
=COUNTA(A3:A40)+COUNTA(D3:D40)
=COUNTA(A3:A40)+COUNTA(D3:D40)
- nvegaDec 05, 2019Copper Contributor
JKPieterse perfect! worked thank you 🙂