Forum Discussion

Nick Wagener's avatar
Nick Wagener
Copper Contributor
Apr 13, 2018
Solved

Excel Formula help

I am trying to write an IF AND statement that has multiple parts, kind of long. 1st it will look if a date cell (J12) is blank, if so then Cell (I12) is "NO", then it will check if cell (H12) is <-49...
  • Haytham Amairah's avatar
    Apr 13, 2018

    Hi Nick,

     

    In the example that you attached, I did not find any error, the formula is going well!

    =IF(J13="","NO",IF((AND(H13<-4999,H13/D13<-10%)),"NEEDS ADDITIONAL APPROVAL","YES"))

      

    Let's break the formula into parts like this:

    J13=""

    The result is False since the cell J13 isn't blank.

     

    H13<-4999

    The result is False since the value of H13 is -4500 which really NOT less than -4999.

     

    H13/D13<-10%

    The result is True since the result of H13/D13 is -30% which is definitely less than -10%.

     

    The final result of AND is False because it has at least one logical test ended up in False.

     

    After that, the final result of the formula is YES.

Resources