• 462K Members
• 6,600 Online
• 559K Conversations

## Breach or not breach result using IF Function

Highlighted
Occasional Visitor

# Breach or not breach result using IF Function

Hi,
Can anyone help to get result breach or not breach for the below condition

Trader A limit = 600 for USD/AED and 800 for Other CCY
Trader B limit = 700 for USD/AED and 600 for Other CCY
Trader C limit = 500 for USD/AED and 900 for Other CCY

Type of contract = USD/AED or Other CCY

Column B amount
Column C Type of contract

Condition
Line no 1 for Trader A
If column C is USD/AED and amount >=600 then Breach
If column C is Other CCY and amount >= 800 then Breach, if not then Not Breach

Line 2, Line 3 and so on apply the limit condition as per Trader B and C

Please advice, I tried apply Nested if(and and result arrived successfully but few are incorrect not sure why? even though it match with other successful rows.
2 Replies

# Re: Breach or not breach result using IF Function

It would greatly help if you upload a sample file with realistic data, the solution will be close to what you are looking for. please provide expected results too for few rows so that formula can be tested.    thank you !!

# Re: Breach or not breach result using IF Function

Perhaps, you are looking for something like that in the attached file. There are drop-down lists in Columns F and H for TraderName and ContractType, respectively. The formula in I2, copied down rows, is:

=VLOOKUP(F2,
A\$2:D\$4,
MATCH(H2,A\$1:D\$1,0),0)

Conversly, the formula in J2, copied down rows, is:

=IF(G2>=I2,
"Yes",
"No")

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies