LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Mark cell with a color based on 2 values setup in a text with a signin between

Hello,

If somebody like to solve a challange (and make me happy)

I've got a sheet with several columns and rows.
A system output shows were the data is changed with the shown combi of "old - new". If the data is changed from empty to something of from something to empty then it shows '-'

The format is always the same
For example;

200,000 - 210,7
'-' - 200
202,1 - '-'
150 - 140

What is the question... (challange);

I need to mark the cell;

red = if the value right = higher then the value left side (200,000 - 210,7).
green = if the value right = lower then the value left side (150 - 140).
bleu = if there was a value left side but now right it is '-' (202,1 - '-').
orange = if there was '-' left and now right side it is a value ('-' - 200)
no coloring if the cell is empty of left/right is identical.

This macro must run for the columns B till D and K till Z

Excel is allways a challange (and certainly the data somebody can prepare)


regard, Johan


 
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
Setting a cell's color based upon RGB values LordHog Excel Programming 6 October 23rd 10 04:25 AM
Add values based on text color with the criteria of a date Peter Gonzalez[_2_] Excel Worksheet Functions 7 April 15th 10 08:16 PM
Q: How to color a cell based on values in two cells abcd1234 Excel Programming 17 March 13th 06 02:03 PM
list two columnar values based on conditional formating (text color) beechum1 Excel Worksheet Functions 2 February 12th 06 09:53 AM
In excell be able to Sum values based on the color of the cell Ray Lewis Excel Worksheet Functions 0 October 5th 05 03:10 PM


All times are GMT +1. The time now is 11:40 PM.

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

About Us

"It's about Microsoft Excel"