IF AND Formula - Multiple Values
Ok so I answered my first question however I need the following created. The formula works however I need to add two more contract types that are part of the TRUE statement:
=IF(AND([Billable Consultant/Developer Hours]@row > [Consultant/Developer SOW Hours]@row, [Contract Type]@row = "Prime"), 1, 0)
Need to add Subcontractor and VSP DNE.
Thoughts?
Best Answer
-
Wrap Contract Type conditions in an OR() statement.
=IF(AND([Billable Consultant/Developer Hours]@row > [Consultant/Developer SOW Hours]@row, OR([Contract Type]@row = "Prime", [Contract Type]=“Subcontractor”, [Contract Type]=“VSP DNE” )), 1, 0)
Answers
-
Wrap Contract Type conditions in an OR() statement.
=IF(AND([Billable Consultant/Developer Hours]@row > [Consultant/Developer SOW Hours]@row, OR([Contract Type]@row = "Prime", [Contract Type]=“Subcontractor”, [Contract Type]=“VSP DNE” )), 1, 0)
-
AHA! That's what I was missing. My parentheses were not placed correctly when I last used the OR function. Thanks!