A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Format Not Working



 
 
Thread Tools Display Modes
  #1  
Old December 22nd, 2005, 05:32 PM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default Conditional Format Not Working

I have used conditional formatting extensively in the past, but I have
encountered a bizarre problem with applying it in this instance.

I want to compare 2 values in the same row (but different columns obviously)
to see if they are the same or different and change the background color of
the cell. I am using OFFSET and indirect functions to find the correct cells
to compare.

If I put the same formula in the conditional format statement and in the
cell itself, the conditional format is not changing the color when the
condition changes to true. The cell is calculating TRUE or false correctly
but no change in formats. (Yes, I have setup the change of formats in the
conditional format window)

Long term, I don't want to have the formula in the cell as well as in the
conditional format because I want the cell value to be able to be anything
while the format flags the changes for me.

I have tried switching from 1 worksheet and back. Recalcing, closing and
reopening and it still doesn't work.

For reference here's some more detail.
The formula in both conditional format and cell....
=INDIRECT($B9)OFFSET(C$1,ROW(INDIRECT($B9))-1,relative_base-scenario)
C$1 is the top of the column this formula is in.
Cell B9 contains the name of a row where the data to compare is located
relative_base is a named row that contains the column number of the scenario
I want to compare to
scenario contains the column number of the scenario I am in

To make things weirder, the above formula always has the conditional format
on while the formula below (same basic calculation just formated differently)
always has the conditional format off.
=OFFSET(C$1,ROW(INDIRECT($B9))-1,0)OFFSET(C$1,ROW(INDIRECT($B9))-1,relative_base-scenario)

What am I doing wrong or what quirk of Excel have I found? Thanks for any
help.
Ken

PS Does Excel 2003 have the conditional format limits (2050 rows) or is that
limitation gone now?

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Format (month and year) = Today() Scott Worksheet Functions 3 November 4th, 2005 04:52 PM
Conditional format combined with functions DAJ Worksheet Functions 1 November 3rd, 2005 01:01 AM
Conditional Format Titles Jenn General Discussion 1 February 22nd, 2005 09:41 PM
HELP! format not working Marshall Barton Setting Up & Running Reports 2 June 10th, 2004 01:57 PM
Conditional format ISERROR() Pal Worksheet Functions 3 March 1st, 2004 01:14 AM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.