Forum Discussion

Michael1105's avatar
Michael1105
Brass Contributor
Oct 20, 2021
Solved

#Value error with Nested If/And function-HELP!!!

Hello All, I am hoping someone can assist with this.  I've evaluated this formula inside and out and I can't figure out why this error is being returned.  I've checked the values within the cells to...
  • mtarler's avatar
    mtarler
    Oct 20, 2021

    Michael1105  It was added in 2019 version.  here is the same thing with cascading IF()

    =IF(AND(D8='Data Sheet'!A4,Log!E8='Data Sheet'!B4),"",
      IF(AND(Log!D8='Data Sheet'!A5,Log!E8='Data Sheet'!B5),'Data Sheet'!C4,
      IF(AND(Log!D8='Data Sheet'!$A$6,Log!E8='Data Sheet'!$B$5),'Data Sheet'!C6,
      IF(AND(Log!D8='Data Sheet'!$A$7,Log!E8='Data Sheet'!$B$5),'Data Sheet'!C7,
      ,""))))

    notice I just added IF( at the start of those lines and all of the closing ) at the end

Resources