Multiple IF statements in Excel

后端 未结 2 448
日久生厌
日久生厌 2021-01-23 22:16

How can I do this in Excel with Multiple IF statements:-

\"enter

The conditions:-

2条回答
  •  甜味超标
    2021-01-23 22:24

    Here is how you'd write in for say, HIJ assuming by NULL you mean the value 0 and not empty cell:

    =IF(C4>0,C4,IF(B4>0,B4,D4))
    

    In layman's terms, If C4 is greater than 0, give me C4, if it's not then tell me if B4 is greater than 0, and if it is, give me B4, otherwise, just give me D4).

提交回复
热议问题