Forum Discussion

DennisMetro's avatar
DennisMetro
Brass Contributor
Jun 24, 2021

EXCEL IF FUNCTION

Hi, So, for example, =IF((H2="")*(J2=""),"",IF(H2>J2,"overload","apples")) this basically says if H2 or J2 are empty then return an empty string but if H2 is greater than J2 then return "overload" ...
  • HansVogelaar's avatar
    Jun 24, 2021

    DennisMetro 

    Enter the values you want to return in cells, e.g in Y1 and Z1. You can then use

     

    =IF(H2&J2="","",IF(H2>J2,$Y$1,$Z$1))

Share

Resources