#1   Report Post  
Posted to microsoft.public.excel.programming
Mac Mac is offline
external usenet poster
 
Posts: 213
Default formatting

I have a column that looks up a value (ex 4.34%) I have a column that has a
value of 10.70%. I want the change the color of the cell if the variance
between the cells is more than 3%. I have tried conditional formatting and I
am either doing it wrong for it does not work. Can anyone give me an idea on
how to accomplish this. Thank you in advance for any help you can give me.



thank you mac
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default formatting

Sure thing.

Try setting it to Cell Value is:

and for the result, use an If, Then, Else function like the following:

If column I and Column J are the 2 columns being compared to each other, and
you are putting this conditional format on Cell K5, then setup the formula
within the Result box as:

=IF(ABS(I5-J5)0.03,K5,"A")

After you put in the formula, get out of the format conditional format, then
go back into it and make sure it didn't put in any extra double quotes. If
it did, remove the double quotes and it should be fine the second time
around.

Note, this is assuming K5 will never equal the value of "A". If this is
false, then change it to a value that K5 will never equal to.

I have used this trick for numerous things, which I discovered on my own.
Too bad I can't use this same sore of trick within chart series as that
allows only for absolute referencing without necessarily having to use VBA.

--

Sincerely,

Ronald R. Dodge, Jr.
Master MOUS 2000

"mac" wrote in message
...
I have a column that looks up a value (ex 4.34%) I have a column that has
a
value of 10.70%. I want the change the color of the cell if the variance
between the cells is more than 3%. I have tried conditional formatting
and I
am either doing it wrong for it does not work. Can anyone give me an idea
on
how to accomplish this. Thank you in advance for any help you can give
me.



thank you mac



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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
expanding custom formatting without removing existing cell formatting? Keith Excel Worksheet Functions 3 December 27th 06 01:54 PM
Decimal Formatting in Windows English vs European Formatting Drummer361 Excel Programming 3 August 7th 06 02:48 PM


All times are GMT +1. The time now is 07:28 AM.

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"