LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formatting Problem: Circular Reasoning


Hi... new to the forum. It looks like there's lots of good stuff on
here.

Here's my question:

I'm working on a sudoku-solver and having some trouble using
conditional formatting as part of a formula. I'm familiar with using
a

+style(if(current()=0,"Green","Red))

type of of formula, but I'm having trouble working with cells whose
format depend on -eachother.- For example, I have two cells that can
both be either "." or "*" -- and I want to make the "*" cells style RED
-only- if both cells are not "*". In other words, I want the style RED
to be mutually exclusive, so that if both of the cells are "*" then the
style will be GREEN while if only one of the cells is a "*" the style
will be RED. (GREEN is the style for all "." values regardless)

My problem is that when I initiate the formula as...

=...+style(if(current()=E24,"Green","Red))

(where E24 is the 'other' cell)

...then it turns into a circular reasoning problem. If I install the
formula in both cells then it "works" first in whichever cell loads
first. It ends up making that cell RED when both cells have a value of
"*". If I reload the formula from the other cell the formatting
switches but never gets it right.

Does anyone have familiarity working with problems of circular
reasoning in excel or in programming? Or any ideas about how to have
current cell values influence formatting between -eachother?-

Any ideas or links to other resources would be great! Thanks!

Jake
Vail, CO

*note: I use open office calc; it's basically the same as excel as far
as I know (but free)




--
jorlowitz
 
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
Can this be solved? or am i dealing with circular reasoning? Nietz Excel Discussion (Misc queries) 1 February 16th 06 12:02 AM
Problem with Circular Reference Paul M Excel Discussion (Misc queries) 1 February 15th 06 01:43 AM
Circular reference problem R.Hocking Excel Discussion (Misc queries) 4 February 2nd 06 05:20 PM
Problem with IF function/circular/HELP! smdettloff Excel Worksheet Functions 4 August 31st 05 08:58 PM
Circular Problem needs Macro NICK Excel Discussion (Misc queries) 2 February 1st 05 09:09 AM


All times are GMT +1. The time now is 03:38 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"