Matching 3 conditions

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,226
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
Can someone help me with a formula in column D to generate 'Result' meeting 3 conditions?
Thanks in adv.
Sheet1

ABCDEFG

<tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]

[TD="bgcolor: #ffff00, align: center"]Result[/TD]
[TD="bgcolor: #99cc00, align: center"]Condition 1[/TD]
[TD="bgcolor: #99cc00, align: center"]Condition 2[/TD]
[TD="bgcolor: #99cc00, align: center"]Condition 3[/TD]

[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]500[/TD]
[TD="bgcolor: #ffff00, align: right"]1[/TD]
[TD="bgcolor: #99cc00"]A<b< td=""></b<>[/TD]
[TD="bgcolor: #99cc00"]B<c< td=""></c<>[/TD]
[TD="bgcolor: #99cc00"]A<c< td=""></c<>[/TD]

[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]600[/TD]
[TD="align: right"]500[/TD]
[TD="bgcolor: #ffff00, align: right"]2[/TD]
[TD="bgcolor: #99cc00"]A<b< td=""></b<>[/TD]
[TD="bgcolor: #99cc00"]B>=C[/TD]
[TD="bgcolor: #99cc00"]A<c< td=""></c<>[/TD]

[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]200[/TD]
[TD="bgcolor: #ffff00, align: right"]3[/TD]
[TD="bgcolor: #99cc00"]A<b< td=""></b<>[/TD]
[TD="bgcolor: #99cc00"]B>=C[/TD]
[TD="bgcolor: #99cc00"]A>=C[/TD]

[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]100[/TD]
[TD="bgcolor: #ffff00, align: right"]4[/TD]
[TD="bgcolor: #99cc00"]A>=B[/TD]
[TD="bgcolor: #99cc00"]B>=C[/TD]
[TD="bgcolor: #99cc00"]A>=C[/TD]

[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]250[/TD]
[TD="bgcolor: #ffff00, align: right"]5[/TD]
[TD="bgcolor: #99cc00"]A>=B[/TD]
[TD="bgcolor: #99cc00"]B<c< td=""></c<>[/TD]
[TD="bgcolor: #99cc00"]A>=C[/TD]

[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]500[/TD]
[TD="bgcolor: #ffff00, align: right"]6[/TD]
[TD="bgcolor: #99cc00"]A>=B[/TD]
[TD="bgcolor: #99cc00"]B>=C[/TD]
[TD="bgcolor: #99cc00"]A<c< td=""></c<>[/TD]

</tbody>

E2 condition: A<B
F2 condition: B<C
G2 condition: A<C
E3 condition: A<B
G3 condition: A<C
F6 condition: B<C
G7 condition: A<C
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
A: Value in the cells of column A. I can understand you Aladin..2 mistakes on my part 1: Title should have been '....with 6 conditions" 2: My scripting error.
Apology but I needed it. Any better formula if can be given?
 
Upvote 0

Forum statistics

Threads
1,225,479
Messages
6,185,229
Members
453,283
Latest member
Shortm88

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