1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

=COUNTA() is returning 0 even when some cells in the range aren't blank

Our take

It appears you're encountering an issue with the =COUNTA() function returning 0, despite having non-blank cells in the specified range. Initially, the formula in E136 should have counted the dummy values entered above it, but it didn’t. After moving the formula to another column to avoid circular referencing, the problem persisted. However, once you identified and removed an unrelated circular reference in column D, the COUNTA function in column E began working correctly.

See image for reference. In E136 I've got the COUNTA formula. In the cells immediately above it I've entered some dummy values by hand. The COUNTA formula should at the very least return 4 based on this setup, but it's 0. I've tried repairing the file but that didn't do anything. Claude didn't produce anything helpful. Does anyone know why this is happening?

EDIT: Moved the formula to another column to avoid circular referencing. Still showing 0.

EDIT 2: There was an unrelated circular reference in a cell in column D that was apparently affecting column E. Once I removed the circular reference in column D, column E fixed itself.

https://preview.redd.it/q7pqgdb8kusg1.png?width=457&format=png&auto=webp&s=cb90faf2035dbbcfd639f90bb010da5817861fbb

submitted by /u/WorkSpeed
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with

#AI formula generation techniques#formula generator#Excel alternatives for data analysis#rows.com#natural language processing for spreadsheets#generative AI for data analysis#Excel compatibility#cloud-based spreadsheet applications#Excel alternatives