Forum Discussion

Kim-Kay's avatar
Kim-Kay
Brass Contributor
Oct 14, 2022
Solved

If/Then Statements with Possible AND/OR or Nesting Stmts

I have two tabs in the same Excel spreadsheet.   The first tab is a page that will be completed by the end user, who will answer questions by placing an "x" in the column that they choose.  Then, th...
  • mtarler's avatar
    mtarler
    Oct 17, 2022

    Kim-Kay If that works great.  I think you could also just 'extend' the formula I used for a single line to all the lines:

     

    =IF(LEN(CONCAT(B2:F6)),IF(XOR(LEN(CONCAT(B2:C6)),LEN(CONCAT(E2:F6))),SUMIF(B2:F6,"<>",Sheet2!B2:F6),SUM(Sheet2!D2:D6)),"")

     

Resources