Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何计算具有特定文本 [无论值] 且不为空的单元格。如果我使用 count 或 count 等函数,如果它要求值范围,我需要的是任何文本。有没有写宏的代码来解决这个问题?
例如计算所选区域单元格 139-119=20。我需要选择多个地方并计数。
请使用 COUNTA 函数计算范围内的非空白单元格,如快照所示。 请参阅此参考。使用 COUNTA 计算非空白单元格