If Statement Help

MrNerd

New Member
Joined
Jan 9, 2018
Messages
36
Office Version
  1. 2003 or older
Platform
  1. Windows
I have 3 cells (A,B,C) I am looking pull data from to produce an output. All of the formulas/outputs needs to be within 1 cell/formula to make this work. I am really sorry for the structure I have put this in. I am not sure how else to express it. In the end, I am not sure if this is a IF statement or what.

A (A could be any one of these 5 clients)
Client 1
Client 2
Client 3
Client 4
Client 5

B (B could be any one of these 5 conditions)
Condition 1
Condition 2
Condition 3
Condition 4
Condition 5

C (C could be any one of these 3 options)
Option 1
Option 2
Option 2

Formulas and Output (all of this would need to be included in 1 formula so that any of the outputs will populate)

Client 1 + (Condition 1 OR Condition 2 OR Condition 3) + (Option 1 OR Option 2) = 15

(Client 2 OR Client 3 OR Client 4 OR Client 5) + (Condition 1 OR Condition 2 OR Condition 3) + (Option 1 OR Option 2) = 1

Condition 4 + (Option 1 OR Option 2) = 8

Condition 5 + (Option 2 OR Option 2) = 16

Option 2 = 1000
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
It would make more sense if you illustrated your sample data and expect results using XL2BB, please.
Also, please change your profile to indicate which version of Excel you are running.
 
Upvote 0
So sorry, my company does not let me download anything onto my computer unless preapproved. :(

Here is a screen cap of what it may look like in the spreadsheet. Each of those formulas would be run in a single cell in column E to produce the output in the original post. Again, sorry.
SLA Example.jpg
 
Upvote 0
That's a start but what is the output supposed to be?
 
Upvote 0
Each of the below statements is what would dictate the outputs. Outputs are bold. Basically, I am looking for one long IF statement that would check ALL the below in a single cell and when one of those formulas is met, it provides the output in bold.

Client 1 + (Condition 1 OR Condition 2 OR Condition 3) + (Option 1 OR Option 2) = 15

(Client 2 OR Client 3 OR Client 4 OR Client 5) + (Condition 1 OR Condition 2 OR Condition 3) + (Option 1 OR Option 2) = 1

Condition 4 + (Option 1 OR Option 2) = 8

Condition 5 + (Option 2 OR Option 2) = 16

Option 3 = 1000
 
Upvote 0
Let me try to understand what you mean by the above.
Since your illustration appears to need a value for each row (ticket?), maybe you could start by indicating what value you'd expect for ticket1 and then ticket2, etc.
 
Upvote 0
Let me try to understand what you mean by the above.
Since your illustration appears to need a value for each row (ticket?), maybe you could start by indicating what value you'd expect for ticket1 and then ticket2, etc.
Sure!

Ticket 1 = 15
Ticket 2 = 1000
Ticket 3 = 1
Ticket 4 = 15
Ticket 5 = 8
Ticket 6 = 1000
Ticket 7 = 1000
Ticket 8 = 1000
Ticket 9 = 1000
Ticket 10 = 1000
 
Upvote 0
This criteria doesn't make sense: Condition 5 + (Option 2 OR Option 2) = 16

Lastly, for now, the conditions are tested from your list, top to bottom???
 
Upvote 0
Phew. Maybe this?

Book1
ABCDE
1TicketClientConditionOptionScore
21Client 1Condition 1Option 115
32Client 2Condition 2Option 31000
43Client 2Condition 3Option 21
54Client 1Condition 2Option 215
65Client 4Condition 4Option 28
76Client 3Condition 4Option 31000
87Client 5Condition 4Option 31000
98Client 1Condition 5Option 31000
109Client 1Condition 3Option 31000
1110Client 3Condition 3Option 31000
Sheet2
Cell Formulas
RangeFormula
E2:E11E2=IF(AND(B2="Client 1",OR(C2="Condition 1",C2="Condition 2",C2="Condition 3"),OR(D2="Option 1",D2="Option 2")),15,IF(AND(B2<>"Client 1",OR(C2="Condition 1",C2="Condition 2",C2="Condition 3"),D2<>"Option 3"),1,IF(AND(C2="Condition 4",OR(D2="Option 1",D2="Option 2")),8,IF(AND(C2="Condition 5",D2="Option 2"),16,1000))))
 
Upvote 0
Solution
This criteria doesn't make sense: Condition 5 + (Option 2 OR Option 2) = 16

Lastly, for now, the conditions are tested from your list, top to bottom???
So Ticket 4 has client 1, condition 2 and option 2 so it would fit the 15 parameters
For 16, it just needs to be condition 3 and one of the two options to be 16
They can be run in any order.

The numbers are just text representing minutes or hours, not a calculation of the factors. So to give you some context, we have certain response times we need to meet based on client contracts. So for client 1, we need to handle their different priority tickets (or conditions) in 15 minutes if that priority is 1,2 or a 3 and if it is in their live domain (option 1) or both live and non live domains (option 2. So if they meet that criteria of being for client and the priority of their ticket is 1,2 or 3 and they are in their live domain, or both domains, we need to get the turnaround time on their ticket is 15 minutes.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,332
Members
449,077
Latest member
jmsotelo

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