简体   繁体   中英

Excel IF AND OR statement syntax issue

I'm hoping someone can help me with getting the correct syntax for this formula.

=if(and(panel_quantity>0),OR(c1:z1)<>””),”yes”,”no”)

Below is an explanation For what I want the formula to achieve.

If Panel_Quantity is greater than zero AND if and any of the cells in the range of C1:Z1 contains any text/value/formula then cell value is “yes”, otherwise “no”.

Thanks.

尝试这个:

=if(and(panel_quantity>0, counta(c1:z1) > 0),"yes","no")

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