Count cells containing text per row

Solved/Closed
Blocked Profile - Updated on Jul 23, 2020 at 11:23 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jun 22, 2020 at 11:43 AM
Hello,
I am trying to figure out and if statement to add 1 if there is text in a row so that at the end of the row I will get a total for each time there is text noted in a row.

Would appreciate any help!

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------


1 response

TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 552
Jun 22, 2020 at 11:43 AM
Hi Thelearnlaxi,

When you want to count all cells with something (text or numbers) in them, use:
=COUNTA(A1:Z1)

When you want to count all cells with only text (combination of text and numbers is considered text) in them use:
=COUNTIF(A1:Z1,"*")

Best regards,
Trowa

0