Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
simon
 
Posts: n/a
Default IF statement problem

I have a simple IF statement...

=if(A1=B1,"same","Different")

what i'd really like, is if B1 is not the same as A1 display "different" and
also change the cell colour to red.
is this possible??

SS


  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Use Conditional Formatting. Check out these sites for
examples:

http://www.contextures.com/xlCondFormat01.html
http://www.xldynamic.com/source/xld.CF.html

HTH
Jason
Atlanta, GA

-----Original Message-----
I have a simple IF statement...

=if(A1=B1,"same","Different")

what i'd really like, is if B1 is not the same as A1

display "different" and
also change the cell colour to red.
is this possible??

SS


.

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
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM
IF statement problem Kalabalana Excel Worksheet Functions 4 November 24th 04 08:37 PM
If statement needed Patsy Excel Worksheet Functions 1 November 4th 04 03:48 PM


All times are GMT +1. The time now is 02:56 AM.

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

About Us

"It's about Microsoft Excel"