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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,214,601
Messages
6,120,460
Members
448,965
Latest member
grijken

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