View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier[_8_] Roger Govier[_8_] is offline
external usenet poster
 
Posts: 376
Default Formating cell by Comparing two cells for value

Hi

Almost there.
Just use =P9=P8
--
Regards
Roger Govier

AJK wrote:
I have a column of data and I want to use conditional formating to compare
the current cell with the one above. If the cell above is the same as the
current cell I want to fill in the cell with a color. I have tried using an
IF function in the condition formating but it does not seem to work. I tried
=if(p9=p8) and set formating to fill the cell but it say invalid formula.
This has to be simple but I am missing something. Thanks for the help.