Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 21
Default format compare

i have used =rand() function in cells a1 to b200.

i want to be able to compare the values in cells a1 b1 , a2 b2 , a3 b3
and so forth...using conditional formatting....

if a1 b1 then a1 shud be red and if vice versa b1 shud be blue

how do i do this for 200 cells ?
is there an easier option ?



sam
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default format compare

Here's one way:

This assumes that you already have the Rand() function in A1:B200.

Set the conditional format for A1 to:
Cell Value Is | greater than | =B1
and format it for the color red

And set the conditional format for B1 to:
Cell Value Is | greater than | =A1
and format it for the color blue

Then copy A1:B1 and PasteSpecial/Formats into
A1:B:200

HTH,
Shockley




"Sam" wrote in message
om...
i have used =rand() function in cells a1 to b200.

i want to be able to compare the values in cells a1 b1 , a2 b2 , a3 b3
and so forth...using conditional formatting....

if a1 b1 then a1 shud be red and if vice versa b1 shud be blue

how do i do this for 200 cells ?
is there an easier option ?



sam



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
conditional format/compare No Name Excel Worksheet Functions 7 December 5th 08 07:38 PM
how to compare time in hh:mm format using IF function? Thanks Excel Worksheet Functions 1 December 13th 07 02:29 PM
Compare dates (one cell not in date format) craigcsb Excel Discussion (Misc queries) 5 June 28th 05 05:07 PM
Compare 2 columns & format row moremetrics Excel Worksheet Functions 2 June 23rd 05 04:47 PM
Conditional Format ... Compare Columns? Ken Excel Discussion (Misc queries) 5 March 25th 05 09:19 AM


All times are GMT +1. The time now is 04:26 PM.

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"