Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional Format a Range Name

How do I set a background color to a range name? This way I can very
easily see the range of the range name. This is important because I
need to keep changing the range of the range name. I am looking for a
way to put a conditional format on a sheet or a workbook that says "if
this cell is part of the range name then set this background color or
text color." Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Format a Range Name

I need to keep changing the range of the range name

Can you be more specific about that?

You can do this with conditional formatting but you don't want to set
conditional formatting in every cell of the sheet just to identify the named
range. You have to narrow it down and be more specific.

For example, a dynamic range that might span the range A1:B500.

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
How do I set a background color to a range name? This way I can very
easily see the range of the range name. This is important because I
need to keep changing the range of the range name. I am looking for a
way to put a conditional format on a sheet or a workbook that says "if
this cell is part of the range name then set this background color or
text color." Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Conditional Format a Range Name

Hello Biff,

I am curious to know the solution...
Let us say, I have define a name for the range B10:D20.
How can I use conditional formatting to format the range A1:F100 such that
only B10:D20 gets highlighted?

"T. Valko" wrote:

I need to keep changing the range of the range name


Can you be more specific about that?

You can do this with conditional formatting but you don't want to set
conditional formatting in every cell of the sheet just to identify the named
range. You have to narrow it down and be more specific.

For example, a dynamic range that might span the range A1:B500.

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
How do I set a background color to a range name? This way I can very
easily see the range of the range name. This is important because I
need to keep changing the range of the range name. I am looking for a
way to put a conditional format on a sheet or a workbook that says "if
this cell is part of the range name then set this background color or
text color." Any ideas?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Format a Range Name

Defined name = Range = B10:D20

Create this named formula:

**Select cell A1** This is important!
InsertNameDefine
Name: InRange
Refers to:

=NOT(ISERROR(Range A1))

OK

Note the space between Range and A1. That is intentional.

Apply the conditional formatting:

Select the range A1:F100
Conditional Formatting
Formula Is: =InRange
Set a nice fill color
OK out

You could also do it by testing the cells row/column numbers to be within
the row/column numbers of the named range but the above method is less
complicated.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Hello Biff,

I am curious to know the solution...
Let us say, I have define a name for the range B10:D20.
How can I use conditional formatting to format the range A1:F100 such that
only B10:D20 gets highlighted?

"T. Valko" wrote:

I need to keep changing the range of the range name


Can you be more specific about that?

You can do this with conditional formatting but you don't want to set
conditional formatting in every cell of the sheet just to identify the
named
range. You have to narrow it down and be more specific.

For example, a dynamic range that might span the range A1:B500.

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
How do I set a background color to a range name? This way I can very
easily see the range of the range name. This is important because I
need to keep changing the range of the range name. I am looking for a
way to put a conditional format on a sheet or a workbook that says "if
this cell is part of the range name then set this background color or
text color." Any ideas?






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Conditional Format a Range Name

Thanks Biff,

It worked but I am not able to wrap my head around the idea... how does it
work?

What does Range A1 mean?

"T. Valko" wrote:

Defined name = Range = B10:D20

Create this named formula:

**Select cell A1** This is important!
InsertNameDefine
Name: InRange
Refers to:

=NOT(ISERROR(Range A1))

OK

Note the space between Range and A1. That is intentional.

Apply the conditional formatting:

Select the range A1:F100
Conditional Formatting
Formula Is: =InRange
Set a nice fill color
OK out

You could also do it by testing the cells row/column numbers to be within
the row/column numbers of the named range but the above method is less
complicated.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Hello Biff,

I am curious to know the solution...
Let us say, I have define a name for the range B10:D20.
How can I use conditional formatting to format the range A1:F100 such that
only B10:D20 gets highlighted?

"T. Valko" wrote:

I need to keep changing the range of the range name

Can you be more specific about that?

You can do this with conditional formatting but you don't want to set
conditional formatting in every cell of the sheet just to identify the
named
range. You have to narrow it down and be more specific.

For example, a dynamic range that might span the range A1:B500.

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
How do I set a background color to a range name? This way I can very
easily see the range of the range name. This is important because I
need to keep changing the range of the range name. I am looking for a
way to put a conditional format on a sheet or a workbook that says "if
this cell is part of the range name then set this background color or
text color." Any ideas?








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Format a Range Name

It works based on how Excel accepts and evaluates intersections (in some
cases).

...........A..........B..........C
1.................2008.....2009
2....North......10.........20
3....East.........22........15
4....South.......17........20
5....West........50.......25

If you set it up correctly you can use a lookup formula like this:

=East 2009

The result will be 15.

=NOT(ISERROR(Range A1))

Works on the same principle. If the cell reference is within the
intersection of the named range Range, ISERROR is FALSE and NOT(ISERROR is
TRUE.

You have to give that formula a name and call it like =InRange because it
contains intersections and Excel complains when you attempt to directly use
a conditional formatting formula that contains array constants, unions or
intersections.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Thanks Biff,

It worked but I am not able to wrap my head around the idea... how does it
work?

What does Range A1 mean?

"T. Valko" wrote:

Defined name = Range = B10:D20

Create this named formula:

**Select cell A1** This is important!
InsertNameDefine
Name: InRange
Refers to:

=NOT(ISERROR(Range A1))

OK

Note the space between Range and A1. That is intentional.

Apply the conditional formatting:

Select the range A1:F100
Conditional Formatting
Formula Is: =InRange
Set a nice fill color
OK out

You could also do it by testing the cells row/column numbers to be within
the row/column numbers of the named range but the above method is less
complicated.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Hello Biff,

I am curious to know the solution...
Let us say, I have define a name for the range B10:D20.
How can I use conditional formatting to format the range A1:F100 such
that
only B10:D20 gets highlighted?

"T. Valko" wrote:

I need to keep changing the range of the range name

Can you be more specific about that?

You can do this with conditional formatting but you don't want to set
conditional formatting in every cell of the sheet just to identify the
named
range. You have to narrow it down and be more specific.

For example, a dynamic range that might span the range A1:B500.

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
How do I set a background color to a range name? This way I can
very
easily see the range of the range name. This is important because I
need to keep changing the range of the range name. I am looking for
a
way to put a conditional format on a sheet or a workbook that says
"if
this cell is part of the range name then set this background color
or
text color." Any ideas?








  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Conditional Format a Range Name

Thanks Biff,

I have got it now...

"T. Valko" wrote:

It works based on how Excel accepts and evaluates intersections (in some
cases).

...........A..........B..........C
1.................2008.....2009
2....North......10.........20
3....East.........22........15
4....South.......17........20
5....West........50.......25

If you set it up correctly you can use a lookup formula like this:

=East 2009

The result will be 15.

=NOT(ISERROR(Range A1))

Works on the same principle. If the cell reference is within the
intersection of the named range Range, ISERROR is FALSE and NOT(ISERROR is
TRUE.

You have to give that formula a name and call it like =InRange because it
contains intersections and Excel complains when you attempt to directly use
a conditional formatting formula that contains array constants, unions or
intersections.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Thanks Biff,

It worked but I am not able to wrap my head around the idea... how does it
work?

What does Range A1 mean?

"T. Valko" wrote:

Defined name = Range = B10:D20

Create this named formula:

**Select cell A1** This is important!
InsertNameDefine
Name: InRange
Refers to:

=NOT(ISERROR(Range A1))

OK

Note the space between Range and A1. That is intentional.

Apply the conditional formatting:

Select the range A1:F100
Conditional Formatting
Formula Is: =InRange
Set a nice fill color
OK out

You could also do it by testing the cells row/column numbers to be within
the row/column numbers of the named range but the above method is less
complicated.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Hello Biff,

I am curious to know the solution...
Let us say, I have define a name for the range B10:D20.
How can I use conditional formatting to format the range A1:F100 such
that
only B10:D20 gets highlighted?

"T. Valko" wrote:

I need to keep changing the range of the range name

Can you be more specific about that?

You can do this with conditional formatting but you don't want to set
conditional formatting in every cell of the sheet just to identify the
named
range. You have to narrow it down and be more specific.

For example, a dynamic range that might span the range A1:B500.

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
How do I set a background color to a range name? This way I can
very
easily see the range of the range name. This is important because I
need to keep changing the range of the range name. I am looking for
a
way to put a conditional format on a sheet or a workbook that says
"if
this cell is part of the range name then set this background color
or
text color." Any ideas?









  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Format a Range Name

You're welcome!

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Thanks Biff,

I have got it now...

"T. Valko" wrote:

It works based on how Excel accepts and evaluates intersections (in some
cases).

...........A..........B..........C
1.................2008.....2009
2....North......10.........20
3....East.........22........15
4....South.......17........20
5....West........50.......25

If you set it up correctly you can use a lookup formula like this:

=East 2009

The result will be 15.

=NOT(ISERROR(Range A1))

Works on the same principle. If the cell reference is within the
intersection of the named range Range, ISERROR is FALSE and NOT(ISERROR
is
TRUE.

You have to give that formula a name and call it like =InRange because it
contains intersections and Excel complains when you attempt to directly
use
a conditional formatting formula that contains array constants, unions or
intersections.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Thanks Biff,

It worked but I am not able to wrap my head around the idea... how does
it
work?

What does Range A1 mean?

"T. Valko" wrote:

Defined name = Range = B10:D20

Create this named formula:

**Select cell A1** This is important!
InsertNameDefine
Name: InRange
Refers to:

=NOT(ISERROR(Range A1))

OK

Note the space between Range and A1. That is intentional.

Apply the conditional formatting:

Select the range A1:F100
Conditional Formatting
Formula Is: =InRange
Set a nice fill color
OK out

You could also do it by testing the cells row/column numbers to be
within
the row/column numbers of the named range but the above method is less
complicated.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
Hello Biff,

I am curious to know the solution...
Let us say, I have define a name for the range B10:D20.
How can I use conditional formatting to format the range A1:F100
such
that
only B10:D20 gets highlighted?

"T. Valko" wrote:

I need to keep changing the range of the range name

Can you be more specific about that?

You can do this with conditional formatting but you don't want to
set
conditional formatting in every cell of the sheet just to identify
the
named
range. You have to narrow it down and be more specific.

For example, a dynamic range that might span the range A1:B500.

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
How do I set a background color to a range name? This way I can
very
easily see the range of the range name. This is important
because I
need to keep changing the range of the range name. I am looking
for
a
way to put a conditional format on a sheet or a workbook that
says
"if
this cell is part of the range name then set this background
color
or
text color." 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 format of range AndyB Excel Discussion (Misc queries) 3 May 7th 09 11:14 PM
Conditional Format over Date Range Meowzer Excel Discussion (Misc queries) 3 October 15th 08 02:01 PM
conditional format a range Wanna Learn Excel Discussion (Misc queries) 3 October 11th 06 02:14 PM
Conditional Format based on range Dave Excel Discussion (Misc queries) 3 June 5th 06 06:15 AM
Conditional format IP range deo89 Excel Discussion (Misc queries) 4 December 29th 05 02:56 AM


All times are GMT +1. The time now is 06:09 PM.

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"