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
 
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))))
If you were able to get this with my "chicken scratch" of an example, I will be forever greatful. Let me check.
 
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
YOU KICK SOME MAJOR BUTT!! Thank you!! I really appreciate your help. If you are ever in KC, MO, let me know. I owe you a coffee.
 
Upvote 0
LOL. Glad it worked for you. Please mark it solved.
 
Upvote 0

Forum statistics

Threads
1,214,877
Messages
6,122,051
Members
449,064
Latest member
scottdog129

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