Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Background Cell Colour-If Data Match

Create an Excel defined name for the range on Sheet2, say s2data, and then
use Conditional Formatting on the range on Sheet1 with a formula of

=ISNUMBER(MATCH(A1,s2Data,0))

and set the colour to suit.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
"Vadhimoo" wrote in message
...
Hi ,
I am having two sheets like:

Sheet1:
John
Michael
Legault
David
.......

Sheet2:
David
Eric
John
Dave
.......

Here i want to compare the Sheet1 's data with Sheets2's data. If the data
match, i want to set the background color(yellow or red) for those datas
in
the Sheet1.
Result:
Sheet1:
John(Set Background Color)
Michael
Legault
David(Set Backlground Color)
.......

Thanks and Regards,
Vadhimoo



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
Change background colour of a row if a particular cell has a value wolfey Excel Discussion (Misc queries) 1 August 3rd 09 12:45 PM
Changing background colour when changing data in a cell Paoul Excel Discussion (Misc queries) 7 December 26th 08 07:25 AM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
How Can I Read Formatting Data (ie Background Colour) iMartyn Excel Discussion (Misc queries) 2 December 8th 05 10:29 PM
establishing the background colour of a cell ac512 Excel Discussion (Misc queries) 4 April 15th 05 08:20 PM


All times are GMT +1. The time now is 01:00 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"