if (#First Invoice Paid # == ‘Paid’ && #Contract Status# == ‘Customer Signed’) { return 1; } else { return 2; }