D
David Pelizzari
I am attempting to write an if statement to check values in two columns, and
return a value based on the two.
column A is difference between two dates (today and date created)
column b is priority (low, medium, high and urgent are the options)
the values will be either compliant or non compliant based on the priority
and how long past the date in Column A. A low priority is 7 days, a medium
is 3 days, a high is 24 hours and an urgent is 8 hours. What I wrote is:
=IF($B:$B="Low",IF($A:$A<=7,"Compliant",IF($B:$B="Medium",IF($A:$A<=3,"Compliant",IF($B:$B="High",IF($A:$A<=1,"COMPLIANT","OUT
OF SLA"),"OUT OF SLA")),"OUT OF SLA")),"OUT OF SLA")
this works fine on the low priority, but it marks everything else as out of
compliance, not sure where I am getting this wrong...
return a value based on the two.
column A is difference between two dates (today and date created)
column b is priority (low, medium, high and urgent are the options)
the values will be either compliant or non compliant based on the priority
and how long past the date in Column A. A low priority is 7 days, a medium
is 3 days, a high is 24 hours and an urgent is 8 hours. What I wrote is:
=IF($B:$B="Low",IF($A:$A<=7,"Compliant",IF($B:$B="Medium",IF($A:$A<=3,"Compliant",IF($B:$B="High",IF($A:$A<=1,"COMPLIANT","OUT
OF SLA"),"OUT OF SLA")),"OUT OF SLA")),"OUT OF SLA")
this works fine on the low priority, but it marks everything else as out of
compliance, not sure where I am getting this wrong...