• 507K Members
• 8,301 Online
• 604K Conversations

## Breach or not breach result using IF Function

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 A trader name
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
Highlighted

# 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
Help with an IF AND formula
aanaya6 in Excel on
3 Replies
IF FUNCTION ISN'T WORKING NO MATTER HOW SIMPLE THE COMMAND IS
thomasea in Excel on
6 Replies
Which formula to use
Ramon Haagen in Excel on
2 Replies
Excel If Functions
Mfouad2255 in Excel on
10 Replies
function talking to table storage
donquijote in Compute on
0 Replies
Calculated column help
gopalaraoa in SharePoint on
1 Replies