Conditional Formatting Problem

bamaisgreat

Well-known Member
Joined
Jan 23, 2012
Messages
831
Office Version
  1. 365
Platform
  1. Windows
I have tried using conditional formating and it does not seem to do the trick. What Im needing is Example: If A1 contains the same data is A2 then fill the cells yellow. In conditional formatting when i do this the cells turn yellow, I need them to wait till there is data in them before they change not while there blank..Excel 2010 and 2003...thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I get a message saying Microsoft wants to make the correction: =and(A1=A2,A1<"")

Also do I put this formula in A1 or A2?
 
Upvote 0
Procedure to conditionally format cells:

1. Select the range of cells you wish to format. In this case select both A1 and A2.
2. For Excel 2010, click "Home-Conditional Formatting-NewRule" and then "Use a formula..."
3. Copy =and(A1=A2,A1 < > "") in the box below the words "Format values where this formula is true:" and then delete the spaces in the formula before and after the > and < signs. Do not accept Microsofts correction. The reason I have the spaces around the < and > signs is sometimes the MrExcel website deletes the rest of the line if I don't have spaces.
4. Click the "Format" button (it's just above the "Cancel" button) and go to the pattern tab and select yellow (or whatever color you want the cells to be shaded whenever the formula returns a "True" value). Then click OK, OK
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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