IF AND Formula - Multiple Values

Options

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?

Tags:

Best Answer

  • Jason Duryea
    Jason Duryea ✭✭✭✭✭✭
    Answer ✓
    Options

    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

  • Jason Duryea
    Jason Duryea ✭✭✭✭✭✭
    Answer ✓
    Options

    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)

  • Mike Buckiewicz
    Mike Buckiewicz ✭✭✭✭
    Options

    AHA! That's what I was missing. My parentheses were not placed correctly when I last used the OR function. Thanks!