Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Formula that compares Cells and formats if not equal

I'm looking for an Excel formula that will compare cells in two columns and
shade one or both cells if they are not equal.

Example: if A1=B1,(stet-no change happens),format with red font or blue
shading or....
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default Formula that compares Cells and formats if not equal

Look at conditional Formatting in help, for instance if you compare text you
select the cell you want to have a red font, assume you compare A1 with B1.
I am also assuming you are using Excel 2003 or earlier

select A1, do formatconditional formatting, select cell value equal to B1,
click the format button in the same dialogue box and select red font, click
OK twice.



--


Regards,


Peo Sjoblom


"Newsgal" wrote in message
...
I'm looking for an Excel formula that will compare cells in two columns
and
shade one or both cells if they are not equal.

Example: if A1=B1,(stet-no change happens),format with red font or blue
shading or....



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Formula that compares Cells and formats if not equal

Hi, Peo,
I followed your instructions, but for some reason it doesn't work in all
cells in column. For example: If I want it formatted to shade the cells if
the name John is in A1 and the name Mary is in B1, it works for A1 and B1,
but when I select the entire column it isn't consistently shading the cells
that don't match. Any thoughts on how to apply to an entire column?

"Peo Sjoblom" wrote:

Look at conditional Formatting in help, for instance if you compare text you
select the cell you want to have a red font, assume you compare A1 with B1.
I am also assuming you are using Excel 2003 or earlier

select A1, do formatconditional formatting, select cell value equal to B1,
click the format button in the same dialogue box and select red font, click
OK twice.



--


Regards,


Peo Sjoblom


"Newsgal" wrote in message
...
I'm looking for an Excel formula that will compare cells in two columns
and
shade one or both cells if they are not equal.

Example: if A1=B1,(stet-no change happens),format with red font or blue
shading or....




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula function for ignoring cells/results equal to 0 (zero) ? Keith Clark Excel Discussion (Misc queries) 2 April 2nd 09 07:55 AM
Formula that compares data in adjoining cells Irv Excel Worksheet Functions 3 July 10th 07 11:44 PM
Formula to find equal values with blank cells hilltop55 Excel Discussion (Misc queries) 5 March 22nd 07 09:12 PM
formula that compares different ranges sir Lancelot Excel Worksheet Functions 2 November 13th 05 08:13 PM
Formula to move cursor when 2 cells equal mikeburg Excel Discussion (Misc queries) 2 July 8th 05 12:22 AM


All times are GMT +1. The time now is 09:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"