gtd526
Well-known Member
- Joined
- Jul 30, 2013
- Messages
- 660
- Office Version
- 2019
- Platform
- Windows
Hello,
I want to perform a subtraction in place of "Yes".
IFERROR(IF(AND($B5<0,$Z5>ABS($B5)),"Yes",IF(AND($B5<0,$Z5=ABS($B5)),"Tie","")),"") = shows Yes, which is correct (AO6).
I want it to perform a Subtraction instead of "Yes".
IFERROR(IF(AND($B5<0,$Z5>ABS($B5)),Z5-ABS(B5),IF(AND($B5<0,$Z5=ABS($B5)),"Tie","")),"") = shows "Blank" (AO5).
If I put this formula in another cell(M5) Z5-ABS(B5), I get the correct answer. See below.
I want to perform a subtraction in place of "Yes".
IFERROR(IF(AND($B5<0,$Z5>ABS($B5)),"Yes",IF(AND($B5<0,$Z5=ABS($B5)),"Tie","")),"") = shows Yes, which is correct (AO6).
I want it to perform a Subtraction instead of "Yes".
IFERROR(IF(AND($B5<0,$Z5>ABS($B5)),Z5-ABS(B5),IF(AND($B5<0,$Z5=ABS($B5)),"Tie","")),"") = shows "Blank" (AO5).
If I put this formula in another cell(M5) Z5-ABS(B5), I get the correct answer. See below.
Cell Formulas | ||
---|---|---|
Range | Formula | |
M5 | M5 | =Z5-ABS(B5) |
Z5:Z6 | Z5 | =IFERROR(VLOOKUP($A5,'ATS Trends'!$A$2:$F$65,5,0),"") |
AO5 | AO5 | =IFERROR(IF(AND($B5<0,$Z5>ABS($B5)),Z5-ABS(B5),IF(AND($B5<0,$Z5=ABS($B5)),"Tie","")),"") |
AO6 | AO6 | =IFERROR(IF(AND($B6<0,$Z6>ABS($B6)),"Yes",IF(AND($B6<0,$Z6=ABS($B6)),"Tie","")),"") |