简体   繁体   中英

ARRAYFORMULA not adding to each row

When I add formula to the top of the cell W2

=ARRAYFORMULA(IFNA(if(and(T2:T="",Q2:Q<>""),"VALID","")))

It works fine on that row, however the 2nd row has the same conditions, but it does not say VALID like the 1st row does. When I copy that formula to the 2nd row it shows VALID ... So the formula is working, it is not copying down automatically.

在此处输入图片说明

由于您使用ARRAYFORMULA函数,因此您应该使用*而不是AND函数。

=ARRAYFORMULA(IFNA(IF((T2:T="")*(Q2:Q<>""),"VALID","")))

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