comparing cells

  • Thread starter Thread starter Nooby
  • Start date Start date
N

Nooby

I need to compare the values in two cells and set a flag (preferably
color the cell red) if they are different. There are too many to do
visually, so I would like to automate the process. Can a macro be
written to check differences? What if I want an intelligent comparison,
such as that I want to ignore excess spaces, but not different
values...? I may also want to skip some cell comparison based on the
value in a third cell..... .This third cell may have a Y or N for
compare, or not.
How should I approach this? Any help at all would be greatly
appreciated!
 
I would recommend the use of the exact function combined with IF
statements and conditional formatting to acheive the result that you
want.
 
Thanks for the help. I found the exact documentation and see how to use
it. But how would I use conditional formatting? For example, I want
"thistext" to match with "this text". I want to skip the spaces.
 
Back
Top