If with multiple criteria

casper24

New Member
Joined
Apr 30, 2010
Messages
12
Hi,

Am hoping that you guys can help.

I am looking for a formula that shows if cell c8= Smart and cell j8 time is less than 4:00:00 them put Met SLA but if j8 is over 4:00:00 put Failed SLA and if C8= Customer raised ticket or Public raised ticket and j8 is uner 0:30:00 put Met SLA and if J8 is over 00:30:00 put failed SLA.

I have this at the moment but I cannot add in the customer and public raised part.

=IF((AND(C10>="SMART", J10<=TIME(4,0,0))), "Met SLA", "Failed SLA")

Hope this makes sense
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi, you could try like this, which returns nothing if none of the conditions are true.

=IF(C8="Smart",IF(J8< TIME(4,0,0),"Met SLA","Failed SLA"),IF(OR(C8={"Customer Raised","Public Raised"}),IF(J8< TIME(0,30,0),"Met SLA","Failed SLA"),""))<time(4,0,0),"met sla","failed="" sla"),if(or(c8="{"Customer" raised","public="" raised"}),if(j8<time(0,30,0),"met="" sla"),""))<="" html=""></time(4,0,0),"met>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top