本文介绍了请帮我计算公式 &数组公式:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为空白单元格返回 TRUE 直到最后一个值(查看必填列)

我试过这个公式:=AND($A2="" ,$A3:$A <> "") 但它没有用.
问题 1:如何进行第二个参数,即 $A3:$A <>"" 返回 true 如果范围内的任何一个单元格 $A3:$A 非空?最终公式?
(我知道我的公式是错误的,因为它不会检查提到的范围内的每个单元格是否为 NULL,我怎样才能让它检查每个单元格?)

问题 2:对应公式的 ArrayFormula.

(请建议是否有更好的方法来获取公式和 ArrayFromula 以及我尝试过的方法的解决方案)
这是工作表链接:

I want to return TRUE for blank cells until last value (check out the Required column)

I tried this formula: =AND($A2="" ,$A3:$A <> "") but it didn't work.
Question 1: How can I make 2nd argument i.e. $A3:$A <> "" return true if any one cell in the range $A3:$A is Not Null? Final Formula?
(I know my formula is wrong because it doesn't check every cell in the range mentioned if it is NULL or not, how can I make it check every cell?)

Question 2: ArrayFormula for the corresponding Formula.

(Please suggest if there's any better way to get the Formula & ArrayFromula along with the solution of the method I tried)
Here is the sheet link: https://docs.google.com/spreadsheets/d/1VF38MNcP1e4ieZY47QQq1zOwGYWAmuJ2k9A0WkGYeX0/edit?usp=sharing

EDIT:

I got the Formula: =IFNA(MATCH(FALSE,ArrayFormula(isblank(A2:A)),0),0)>1
For ArrayFormula I just tried wrapping it around but it didn't work: =ARRAYFORMULA(IFNA(MATCH(FALSE,ArrayFormula(isblank(A2:A)),0),0)>1)

I just need the ArrayFormula of this Formula & please tell me what's wrong in my ArrayFormula?
Thank you!

解决方案

try:

=INDEX(INDIRECT("A2:A"&MAX(IF(A2:A="",,ROW(A2:A))))="")

or:

=INDEX(INDIRECT("A2:A"&MAX((A2:A<>"")*ROW(A2:A)))="")

这篇关于请帮我计算公式 &amp;数组公式:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 18:51