# Add to IF formula

#### Toota

##### New Member
I have a formula working and this is part of it
=IF(
AND(
OR(
AND(BACKLAY = "BACK", (G9 > (INDEX(Ratings,MATCH(A9,SelectionID,0))))),
G9 refers to a Market price and we "Back" when it is greater than the rating.
I would like to change the >, to another "Value %"
The value % is calculated like below
The ‘Value’ % is calculated looking at the difference in win probability based on the Analysts Ratings price v G9 market price.

This is calculated by: (1 / Ratings price) – (1 / Market price).
I would like the formula to be true only when Value % is greater than -4%
As below Picture shows No 2 would be the true Selection

Any help would be great i have been stuck on this forever
Thanks regards Toota

### Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

#### GlennUK

##### Well-known Member
You say that you are only showing part of the formula ... why aren't you showing the full formula?

#### Toota

##### New Member
Glenn,
This is all of the formula
=IF(
AND(
OR(
AND(BACKLAY = "BACK", (G9 > (INDEX(Ratings,MATCH(A9,SelectionID,0))))),
AND(BACKLAY = "LAY", (G9 < (INDEX(Ratings,MATCH(A9,SelectionID,0)))))),
Overrounds1<UserOverround,
TimeTillJump1<UserTimeTillJump,
ISBLANK(InPlay1)),
BACKLAY,
""
)

Replies
5
Views
97
Replies
5
Views
67
Replies
1
Views
40
Replies
3
Views
95
Replies
16
Views
158

1,127,005
Messages
5,622,136
Members
415,879
Latest member
drumsmasher

### 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?

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