Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joseph
 
Posts: n/a
Default Nested functions in conditional formatting formulae

I am trying to format a range of cells as a function of cell value compared
with other cells. My attempts have failed so far. For e.g.:
=OR(ADDRESS(ROW(),COLUMN())=$B$18,ADDRESS(ROW(),CO LUMN())=$B$17)
=OR(INDIRECT(CONCATENATE("R",(ROW()+1),"C",COLUMN( )),FALSE)=B17)
I do not wish to write VB code.
Thanks in advance for any ideas.
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Nested functions in conditional formatting formulae

Maybe you could post what you are trying to achive
it's hard to guess what you are trying to do


--

Regards,

Peo Sjoblom


"Joseph" wrote in message
...
I am trying to format a range of cells as a function of cell value

compared
with other cells. My attempts have failed so far. For e.g.:
=OR(ADDRESS(ROW(),COLUMN())=$B$18,ADDRESS(ROW(),CO LUMN())=$B$17)
=OR(INDIRECT(CONCATENATE("R",(ROW()+1),"C",COLUMN( )),FALSE)=B17)
I do not wish to write VB code.
Thanks in advance for any ideas.



  #3   Report Post  
Joseph
 
Posts: n/a
Default Nested functions in conditional formatting formulae

The objective is determine, for e.g., the backgraound colour of cells in an
array, as a function of their content. The specific case in this exercise is
the DoReMi musical staff (set of lines).

The content of every cell is compared with a pair of cells, and in the
background colour is modified if the OR() returns a TRUE value.

"Peo Sjoblom" wrote:

Maybe you could post what you are trying to achive
it's hard to guess what you are trying to do


--

Regards,

Peo Sjoblom


"Joseph" wrote in message
...
I am trying to format a range of cells as a function of cell value

compared
with other cells. My attempts have failed so far. For e.g.:
=OR(ADDRESS(ROW(),COLUMN())=$B$18,ADDRESS(ROW(),CO LUMN())=$B$17)
=OR(INDIRECT(CONCATENATE("R",(ROW()+1),"C",COLUMN( )),FALSE)=B17)
I do not wish to write VB code.
Thanks in advance for any ideas.




  #4   Report Post  
Joseph
 
Posts: n/a
Default Nested functions in conditional formatting formulae

Found a solution:
=OR(CELL("contents",INDIRECT(ADDRESS(ROW(),3)))=$B $17,CELL("contents",INDIRECT(ADDRESS(ROW(),3)))=$B $18)

Where $B$17 and $B$18 contain the values Do and Ti. The funtion
CELL("contents",INDIRECT(ADDRESS(ROW(),3))) resolves to the value in the 3rd
column on the current row, which has the modified solfege resulting from the
musical key. if that value equals Do or Ti, the background colour of the cell
is modified, thus giving the student a visual image of the note distances.

Regards,
Joseph

"Peo Sjoblom" wrote:

Maybe you could post what you are trying to achive
it's hard to guess what you are trying to do


--

Regards,

Peo Sjoblom


"Joseph" wrote in message
...
I am trying to format a range of cells as a function of cell value

compared
with other cells. My attempts have failed so far. For e.g.:
=OR(ADDRESS(ROW(),COLUMN())=$B$18,ADDRESS(ROW(),CO LUMN())=$B$17)
=OR(INDIRECT(CONCATENATE("R",(ROW()+1),"C",COLUMN( )),FALSE)=B17)
I do not wish to write VB code.
Thanks in advance for any ideas.




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 Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
Formulae, conditional formatting & macro security Kevin Lucas Excel Discussion (Misc queries) 7 March 15th 05 01:10 PM
Multiple FIND functions in Conditional Formatting RocketFuMaster Excel Worksheet Functions 2 March 2nd 05 06:09 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


All times are GMT +1. The time now is 12:14 AM.

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"