Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default conditional formats using named references

For Example:
I define a local name for a partial column (ie G:3 to G:50) on worksheet tab
"INC" as "INC!BDGT"

In column H ("REV"), I want to apply a conditinal format formula to change
the cell format background color when the REV number is not equal to the BDGT
number.

I can't seem to get the conditional format functions to evaluate the
relative value of named reference "BDGT". instead it treats the named
reference as text and inserts quotes. I've tried forcing an evaluation with
square brackets (ie [BDGT]) but that doesn't work either.

Any suggestions or is named relative references not permitted in the
conditional format evaluation formulas?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default conditional formats using named references

Don't use the sheet name prefix to the name in the conditional
formatting formula. Just reference the name and the name that is local
to the sheet containing the conditional formatting will be used. For
example,

=H1<BDGT

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Wed, 11 Mar 2009 12:11:25 -0700, JBinkert
wrote:

For Example:
I define a local name for a partial column (ie G:3 to G:50) on worksheet tab
"INC" as "INC!BDGT"

In column H ("REV"), I want to apply a conditinal format formula to change
the cell format background color when the REV number is not equal to the BDGT
number.

I can't seem to get the conditional format functions to evaluate the
relative value of named reference "BDGT". instead it treats the named
reference as text and inserts quotes. I've tried forcing an evaluation with
square brackets (ie [BDGT]) but that doesn't work either.

Any suggestions or is named relative references not permitted in the
conditional format evaluation formulas?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default conditional formats using named references

Thanks Chip but it doesn't seem to work.

When I try your example I can make it work for the first cell in the range.
First the conditional format thinks I want to evaluate to the text "BDGT" and
then when I remove the quotes it works for the one cell. when I copy and
'paste special' "formats", it doesnt work. ie even when the condition is
false the format is applied.

When I try to apply conditional formatting to the range ("REV") all at once,
the formatting results arent incorrect. ie I cant seem to evaluate relative
REV<BDGT as a condition.

Did you try your method for named ranges of cells in a worksheet?

want to email me the example?



"Chip Pearson" wrote:

Don't use the sheet name prefix to the name in the conditional
formatting formula. Just reference the name and the name that is local
to the sheet containing the conditional formatting will be used. For
example,

=H1<BDGT

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Wed, 11 Mar 2009 12:11:25 -0700, JBinkert
wrote:

For Example:
I define a local name for a partial column (ie G:3 to G:50) on worksheet tab
"INC" as "INC!BDGT"

In column H ("REV"), I want to apply a conditinal format formula to change
the cell format background color when the REV number is not equal to the BDGT
number.

I can't seem to get the conditional format functions to evaluate the
relative value of named reference "BDGT". instead it treats the named
reference as text and inserts quotes. I've tried forcing an evaluation with
square brackets (ie [BDGT]) but that doesn't work either.

Any suggestions or is named relative references not permitted in the
conditional format evaluation formulas?


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 Formats, how to scroll and view all formats? Bill E Excel Worksheet Functions 0 May 12th 10 07:58 PM
Named ranges and pasting formulas with named references Dude3966 Excel Programming 2 October 8th 08 04:15 PM
Relative references in conditional formats hmm Excel Discussion (Misc queries) 0 July 9th 08 10:51 AM
Conditional formats- paste special formats? jcarney Excel Discussion (Misc queries) 1 November 1st 07 06:37 PM
How do I copy conditional formats so it changes cell references? Chuckie E. Excel Worksheet Functions 2 October 20th 05 03:51 PM


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