Use if with And statment

wcthrill

Board Regular
Joined
Nov 28, 2005
Messages
80
Id like to do a conditional format to a cell. Im comparing 2 stock prices. I need to have the cell chg color if if the high range for the day was higher at least .10 higher than the prev day AND the stock still ended lower than the prev day.

Hope Im explaning myself
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Assuming a standard Date, High, Low, Close header in columns A-D (data begins in row 2)...

1. Select column D and then hold down the CNTRL key and select D3 (column should reamin selected)
2. Choose Conditional Formating and use =AND(B3>=1.1*D2,D2>D3) as the formula
3. Pick your formating
4. Click OK
 
Upvote 0

Forum statistics

Threads
1,215,327
Messages
6,124,280
Members
449,149
Latest member
mwdbActuary

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