IF OR Function

martyloo

Board Regular
Joined
Sep 29, 2010
Messages
100
Hi I have the following problem with the following numbers in each cell

Numbers
A1 100
A2 121
A3 140
A4 98
A5 97

5% Decrease
B1 95
B2 114.95
B3 133
B4 93.1
B5 92.15

5% Increase
C1 105
C2 127.05
C3 147
C4 102.9
C5 101.85

Current Price
D1 101
D2 48
D3 56
D4 95
D5 102

Overbought/Oversold
E1 Overbought
E2 Oversold
E3
E4 Oversold
E5 Overbought

If the current price is within the 5% Increase and Decrease range and it is Overbought I want it to read "Overbought", and likewise if it is Oversold I would like it to read "Oversold"

Can anybody help me???

Thanks in advance
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
martyloo, Good afternoon.

Try to use:

E1 --> =IF(AND(D1>=B1,D1<=C1),"OVERBOUGHT","OVERSOLD")

Copy it down.

Please, tell us if it worked for you.
I hope it helps.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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