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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

clayv

New Member
Joined
Sep 18, 2006
Messages
6
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
 

Forum statistics

Threads
1,141,012
Messages
5,703,730
Members
421,312
Latest member
Mooncake1

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
Top