If condition

bhandari

Active Member
Joined
Oct 17, 2017
Messages
359
[TABLE="width: 500"]
<tbody>[TR]
[TD]SSD[/TD]
[TD]PSD[/TD]
[TD]HSD[/TD]
[TD]K[/TD]
[TD]FORMULA[/TD]
[/TR]
[TR]
[TD]73.6[/TD]
[TD]134[/TD]
[TD]41[/TD]
[TD]118[/TD]
[TD]IF(OR(AND(K>=73.6(SSD),K>=41(HSD)),AND(K>=134(PSD),"1 CONDITION=ACCEPTED THEN TAKE "K"VALUE IS ACCEPTED,2-CONDITION IF NOT ACCEPTED CHANGE THE FORMULA TO K>=73.6(SSD)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Criteria must be as per the formula[/TD]
[/TR]
</tbody>[/TABLE]
Can i get hep with this formula
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Re: help me with if condition

Assuming your Data is as A1:D2 then in E2 possibly;

Code:
=IF(AND(D2>=A2,D2>=B2,D2>=C2),D2,A2)

Is that what you wanted? The 'OR' in your pseudo formula confused me a little.
 
Upvote 0
Re: help me with if condition

Actually, looking at it again, this may be what you wanted?

Code:
=IF(OR(AND(D2>=A2,D2>=C2),D2>=B2),D2,A2)
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,614
Members
452,661
Latest member
Nonhle

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