Dynamic list and blank space filtering

可紊 提交于 2019-12-13 08:27:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!