# IF / AND / #INCORRECT ARGUMENT SET - Formula Help

Options
✭✭✭✭✭

I'm trying to assign a "Status" column of Not Started, In Progress, Overdue, Complete, or Not Applicable (if a box in another column is checked), and am getting an error of #INCORRECT ARGUMENT SET. Appreciate any help. I've spent way too much time on this. :-)

=IF([% Complete]@row = 1, "Complete", IF([Task Not Applicable]@row = 1, "Not Applicable", IF(AND(OR([% Complete]@row = 0, [% Complete]@row = ""), {Capital Women's Care - Metadata Range 1} < Finish@row, "Not Started", IF(AND([% Complete]@row <> 1, {Capital Women's Care - Metadata Range 1} > Finish@row, "Overdue", "In Progress"))))))

Tags:

• Employee
Options

Can you clarify what the cross-sheet reference is in this formula?

{Capital Women's Care - Metadata Range 1}

Is this one cell with a date or is it a range? If it's one cell, you just need to finish off the AND functions before identifying what you want the formula to output. I've bolded the sections below:

=IF([% Complete]@row = 1, "Complete", IF([Task Not Applicable]@row = 1, "Not Applicable", IF(AND(OR([% Complete]@row = 0, [% Complete]@row = ""), {Capital Women's Care - Metadata Range 1} < Finish@row), "Not Started", IF(AND([% Complete]@row <> 1, {Capital Women's Care - Metadata Range 1} > Finish@row), "Overdue", "In Progress"))))

Let me know if that worked!

Cheers,

Genevieve

October 8 - 10, Seattle, WA | Register now

• Employee
Options

Can you clarify what the cross-sheet reference is in this formula?

{Capital Women's Care - Metadata Range 1}

Is this one cell with a date or is it a range? If it's one cell, you just need to finish off the AND functions before identifying what you want the formula to output. I've bolded the sections below:

=IF([% Complete]@row = 1, "Complete", IF([Task Not Applicable]@row = 1, "Not Applicable", IF(AND(OR([% Complete]@row = 0, [% Complete]@row = ""), {Capital Women's Care - Metadata Range 1} < Finish@row), "Not Started", IF(AND([% Complete]@row <> 1, {Capital Women's Care - Metadata Range 1} > Finish@row), "Overdue", "In Progress"))))

Let me know if that worked!

Cheers,

Genevieve

October 8 - 10, Seattle, WA | Register now

• ✭✭✭✭✭
Options

Genevieve - You are my hero! Thank you so much!

• Employee
Options