PC Review


Reply
Thread Tools Rate Thread

change colors in a range of excel cells based on another range of cells

 
 
Bobbi Muck
Guest
Posts: n/a
 
      9th Apr 2010

I would like to change the color of a cell in a range (A550)if any
cell equals any cell in another range (V9:V20). All ranges are dates
and V9:V20 are not necessarily consecutive dates.

In addition that same set of cells A550 would also be compared to a
second set of dates (V30:V35) and if any cell equals any date in this
second range. If so, the cell would change to a different color.

Any ideas?


Thanks,

Bobbi

*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
Lee Li Fong
Guest
Posts: n/a
 
      9th Apr 2010
Bobbi

Try apply these two formula to conditional formattin
=SUMPRODUCT(--(A5=$V$30:$V$35))>0 (set red colour) and =SUMPRODUCT(--(A5=$V$9:$V$20))>0 (set blue colour) to cell A5. Then copy the cell A5 and paste special, format to other cell A550

Lee Li Fon
Blog: http://smartusemicrosoftoffice.blogspot.com/

---
frmsrcurl: http://msgroups.net/microsoft.public...n-another-rang
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Color a Cell Based on a Range of Cells with Colors ron weasley Microsoft Excel Worksheet Functions 1 13th Jan 2010 01:05 AM
In excel change color of a range of cells based on a cell value kwitt Microsoft Excel Worksheet Functions 1 18th Nov 2009 07:20 PM
Conditional Formatting Based on Colors in a Horz Range of Cells DOUG ECKERT Microsoft Excel Misc 10 19th Dec 2008 02:29 PM
how to compute a range of cells based on another range of cells? =?Utf-8?B?SEFST0xE?= Microsoft Excel Worksheet Functions 1 30th Dec 2005 09:32 PM
how to compute a range of cells based on another range of cells? =?Utf-8?B?SEFST0xE?= Microsoft Excel Worksheet Functions 2 30th Dec 2005 07:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:42 PM.