chatgpt-4o-latest-20250326· OpenAI
LMArena Human Preference 140K
I have dozens of cells in one row, some of them are empty and some not. What formula to…
- User
I have dozens of cells in one row, some of them are empty and some not. What formula to use to count how many cells are filled with text?
- Assistant
To count how many cells contain text (non-empty and containing actual text, not numbers or errors), you can use the following formula in Excel or Google Sheets:
✅ Formula:
=COUNTIF(A1:Z1, "*")✅ Explanation:
A1:Z1: Change this to the actual range of your row."*": This wildcard counts any non-empty cell that contains text. It excludes numbers and errors.
🔁 If you want to count only text values (excluding numbers, blanks, and errors), and your version of Excel or Google Sheets supports , use:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.