简体   繁体   中英

Excel formula to count number of lines (not necessarily rows) in all non-blank cells in a column

I'm looking for a formula to count how many lines are in non-blank cells in a column. For the image below, I would like the formula to return 11.

Any help with this would be appreciated!

在此处输入图片说明

尝试,

=COUNTA(V:V)+COUNTIF(V:V, "*"&CHAR(10)&"*")

=COUNTA(A:A)假定=COUNTA(A:A) A,如果列不同,则将A:A更改为任何值。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM