简体   繁体   中英

How to avoid Blank cells when using IF Formula in Excel

在此处输入图片说明

I have a Table and in column D i will enter this formula.

=IF(AND(A2<=(TODAY()+90);C2<=40%);"High";"Low")

I will insert inside a Table. So it can be automatically draged down. Based on conditions, it will show High or Low and then it will highlight only the entire row for "High". But my problem is if there is no values in Column C; then it is still showing as High and Highlighting. If there is no value then it should not show anything. How to change the formula. Help me

再增加一个条件:

=IF(ISBLANK(C2);"";IF(AND(A2<=(TODAY()+90);C2<=40%);"High";"Low"))

If you are useing a Table inside A Table i would Work With @. and a Second if Condition.

=If([@Complete]="";"";IF(AND([@Date]<=(TODAY()+90);@Complete<=40%);"High";"Low")

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