The first part of the formula works because I made changes (putting in one date in [Panel Date]2) to the sheet to get one of the true_values in the IF function and it came back correct, but when I try to make the same changes farther down my sheet (adding a date to [Panel Date]6) that matches the rest of the formula, this error message pops up: "INVALID OPERATION."
Can anyone tell me what's wrong with this formula?
=IF(AND([Executive Panel]1 = 1, NOT(ISBLANK([Panel Date]2)), [Executive Panel]2 = 0, [Executive Panel]5 = 0, [Panel Date]6 = 0, [Executive Panel]6 = 0, [Executive Panel]9 = 0, [Panel Date]10 = 0, [Executive Panel]10 = 0, [Executive Panel]13 = 0, [Panel Date]14 = 0, [Executive Panel]14 = 0), "Scheduled", IF(AND([Executive Panel]1 = 1, NOT(ISBLANK([Panel Date]2)), [Executive Panel]2 = 1, [Executive Panel]5 = 1, NOT(ISBLANK([Panel Date]6)), [Executive Panel]6 = 0, [Executive Panel]9 = 0, [Panel Date]10 = 0, [Executive Panel]10 = 0, [Executive Panel]13 = 0, [Panel Date]14 = 0, [Executive Panel]14 = 0), "Scheduled", IF(AND([Executive Panel]1 = 1, NOT(ISBLANK([Panel Date]2)), [Executive Panel]2 = 1, [Executive Panel]5 = 1, NOT(ISBLANK([Panel Date]6)), [Executive Panel]6 = 1, [Executive Panel]9 = 1, NOT(ISBLANK([Panel Date]10)), [Executive Panel]10 = 0, [Executive Panel]13 = 0, [Panel Date]14 = 0, [Executive Panel]14 = 0), "Scheduled", IF(AND([Executive Panel]1 = 1, NOT(ISBLANK([Panel Date]2)), [Executive Panel]2 = 1, [Executive Panel]5 = 1, NOT(ISBLANK([Panel Date]6)), [Executive Panel]6 = 1, [Executive Panel]9 = 1, NOT(ISBLANK([Panel Date]10)), [Executive Panel]10 = 1, [Executive Panel]13 = 1, NOT(ISBLANK([Panel Date]14)), [Executive Panel]14 = 0), "Scheduled", IF(AND([Executive Panel]1 = 1, NOT(ISBLANK([Panel Date]2)), [Executive Panel]2 = 1, [Executive Panel]5 = 0, [Panel Date]6 = 0, [Executive Panel]6 = 0, [Executive Panel]9 = 0, [Panel Date]10 = 0, [Executive Panel]10 = 0, [Executive Panel]13 = 0, [Panel Date]14 = 0, [Executive Panel]14 = 0), "Completed", IF(AND([Executive Panel]1 = 1, NOT(ISBLANK([Panel Date]2)), [Executive Panel]2 = 1, [Executive Panel]5 = 1, NOT(ISBLANK([Panel Date]6)), [Executive Panel]6 = 1, [Executive Panel]9 = 0, [Panel Date]10 = 0, [Executive Panel]10 = 0, [Executive Panel]13 = 0, [Panel Date]14 = 0, [Executive Panel]14 = 0), "Completed", IF(AND([Executive Panel]1 = 1, NOT(ISBLANK([Panel Date]2)), [Executive Panel]2 = 1, [Executive Panel]5 = 1, NOT(ISBLANK([Panel Date]6)), [Executive Panel]6 = 1, [Executive Panel]9 = 1, NOT(ISBLANK([Panel Date]10)), [Executive Panel]10 = 1, [Executive Panel]13 = 0, [Panel Date]14 = 0, [Executive Panel]14 = 0), "Completed", IF(AND([Executive Panel]1 = 1, NOT(ISBLANK([Panel Date]2)), [Executive Panel]2 = 1, [Executive Panel]5 = 1, NOT(ISBLANK([Panel Date]6)), [Executive Panel]6 = 1, [Executive Panel]9 = 1, NOT(ISBLANK([Panel Date]10)), [Executive Panel]10 = 1, [Executive Panel]13 = 1, NOT(ISBLANK([Panel Date]14)), [Executive Panel]14 = 1), "Completed", "Not Started"))))))))