问题
I have a list which is a combination of two cells for records. For example something like A1&B2
. Sometimes this is not filled however. The formula below sees that it has A1&B2
in the field so regardless it thinks it's fields even though the field would be considered ""
.
=OFFSET(CCS_Error_Tracker!$A$5,0,0,COUNTA(CCS_Error_Tracker!$A:$A),1)
Is there any way this could be configured truly to look for blank spaces?
回答1:
I think this is what you are looking for:
=$A$5:INDEX($A$5:$A$1048576,ROWS($A$5:$A$1048576)-COUNTBLANK($A$5:$A$1048576))
回答2:
counta
would look at if there is anything in the cell, even a formula that returns "0" or "" would fit the criteria as non-blank, depending on what is in your columns you're better off using a countif
and setting the criteria for the count like anything above 0 or if have text try using an istext result. For eg, =offset((CCS_Error_Tracker!$a$5,0,0,countif(CCS_Error_Tracker!$A:$A,">0"),1)
来源:https://stackoverflow.com/questions/32031166/dynamic-list-and-blank-space-filtering