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

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue so i can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout the
spreadsheet. the formulas are not identical.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Conditional Formatting

Hi,

You can do this with conditional formatting using Excel 4 macro language in
the define name area, however, I will show a vba routine to do this also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And Target < "" Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your range/ranges. I would
consider selecting all the cells and defining a single name and then using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue so i can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout the
spreadsheet. the formulas are not identical.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Conditional Formatting

first, just so you know, i'm pretty good at excel but not at the "fancy" stuff.
so i don't know what you mean by Excel 4 macro or VBA. I know how to record
macros and edit them a bit. i'm also confused as to how i do either when
i've got hundreds of cells that i'm "checking". basically i'm sending out a
model to many users and if they choos to key over my formula, i need to know,
hence the need to shade...

"Shane Devenshire" wrote:

Hi,

You can do this with conditional formatting using Excel 4 macro language in
the define name area, however, I will show a vba routine to do this also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And Target < "" Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your range/ranges. I would
consider selecting all the cells and defining a single name and then using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue so i can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout the
spreadsheet. the formulas are not identical.

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

See this:

http://groups.google.com/group/micro...cf859ecd?tvc=2

It explains how to use conditional formatting to identify cells that contain
formulas. It would be a simple matter of changing the formulas logic to
identify cells that *do not* contain formulas.

Check it out and if you need further assistance just post back.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
first, just so you know, i'm pretty good at excel but not at the "fancy"
stuff.
so i don't know what you mean by Excel 4 macro or VBA. I know how to
record
macros and edit them a bit. i'm also confused as to how i do either when
i've got hundreds of cells that i'm "checking". basically i'm sending out
a
model to many users and if they choos to key over my formula, i need to
know,
hence the need to shade...

"Shane Devenshire" wrote:

Hi,

You can do this with conditional formatting using Excel 4 macro language
in
the define name area, however, I will show a vba routine to do this also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And Target < ""
Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your range/ranges. I
would
consider selecting all the cells and defining a single name and then
using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue so i
can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout the
spreadsheet. the formulas are not identical.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Conditional Formatting

do you work for microsoft?

"T. Valko" wrote:

See this:

http://groups.google.com/group/micro...cf859ecd?tvc=2

It explains how to use conditional formatting to identify cells that contain
formulas. It would be a simple matter of changing the formulas logic to
identify cells that *do not* contain formulas.

Check it out and if you need further assistance just post back.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
first, just so you know, i'm pretty good at excel but not at the "fancy"
stuff.
so i don't know what you mean by Excel 4 macro or VBA. I know how to
record
macros and edit them a bit. i'm also confused as to how i do either when
i've got hundreds of cells that i'm "checking". basically i'm sending out
a
model to many users and if they choos to key over my formula, i need to
know,
hence the need to shade...

"Shane Devenshire" wrote:

Hi,

You can do this with conditional formatting using Excel 4 macro language
in
the define name area, however, I will show a vba routine to do this also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And Target < ""
Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your range/ranges. I
would
consider selecting all the cells and defining a single name and then
using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue so i
can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout the
spreadsheet. the formulas are not identical.






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

do you work for microsoft?

No.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
do you work for microsoft?

"T. Valko" wrote:

See this:

http://groups.google.com/group/micro...cf859ecd?tvc=2

It explains how to use conditional formatting to identify cells that
contain
formulas. It would be a simple matter of changing the formulas logic to
identify cells that *do not* contain formulas.

Check it out and if you need further assistance just post back.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
first, just so you know, i'm pretty good at excel but not at the
"fancy"
stuff.
so i don't know what you mean by Excel 4 macro or VBA. I know how to
record
macros and edit them a bit. i'm also confused as to how i do either
when
i've got hundreds of cells that i'm "checking". basically i'm sending
out
a
model to many users and if they choos to key over my formula, i need to
know,
hence the need to shade...

"Shane Devenshire" wrote:

Hi,

You can do this with conditional formatting using Excel 4 macro
language
in
the define name area, however, I will show a vba routine to do this
also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And Target <
""
Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your range/ranges. I
would
consider selecting all the cells and defining a single name and then
using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue so
i
can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout the
spreadsheet. the formulas are not identical.






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Conditional Formatting

ok...this tottally worked....amazing.
now i'm trying to conditionally format a different sheet in the same file
(same conditions...formula black font, value/text blue font) but its not
working.....does it only work on one sheet...the sheet with cell a1?

"T. Valko" wrote:

do you work for microsoft?


No.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
do you work for microsoft?

"T. Valko" wrote:

See this:

http://groups.google.com/group/micro...cf859ecd?tvc=2

It explains how to use conditional formatting to identify cells that
contain
formulas. It would be a simple matter of changing the formulas logic to
identify cells that *do not* contain formulas.

Check it out and if you need further assistance just post back.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
first, just so you know, i'm pretty good at excel but not at the
"fancy"
stuff.
so i don't know what you mean by Excel 4 macro or VBA. I know how to
record
macros and edit them a bit. i'm also confused as to how i do either
when
i've got hundreds of cells that i'm "checking". basically i'm sending
out
a
model to many users and if they choos to key over my formula, i need to
know,
hence the need to shade...

"Shane Devenshire" wrote:

Hi,

You can do this with conditional formatting using Excel 4 macro
language
in
the define name area, however, I will show a vba routine to do this
also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And Target <
""
Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your range/ranges. I
would
consider selecting all the cells and defining a single name and then
using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue so
i
can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout the
spreadsheet. the formulas are not identical.






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

Which method are you using?

The UDF should work on any sheet.

If you're using the formula method change this:

=GET.CELL(48,A1)

To this:

=GET.CELL(48,!A1)

Make sure cell A1 is the active cell (is the selected cell) when you make
that change.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
ok...this tottally worked....amazing.
now i'm trying to conditionally format a different sheet in the same file
(same conditions...formula black font, value/text blue font) but its not
working.....does it only work on one sheet...the sheet with cell a1?

"T. Valko" wrote:

do you work for microsoft?


No.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
do you work for microsoft?

"T. Valko" wrote:

See this:

http://groups.google.com/group/micro...cf859ecd?tvc=2

It explains how to use conditional formatting to identify cells that
contain
formulas. It would be a simple matter of changing the formulas logic
to
identify cells that *do not* contain formulas.

Check it out and if you need further assistance just post back.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
first, just so you know, i'm pretty good at excel but not at the
"fancy"
stuff.
so i don't know what you mean by Excel 4 macro or VBA. I know how
to
record
macros and edit them a bit. i'm also confused as to how i do either
when
i've got hundreds of cells that i'm "checking". basically i'm
sending
out
a
model to many users and if they choos to key over my formula, i need
to
know,
hence the need to shade...

"Shane Devenshire" wrote:

Hi,

You can do this with conditional formatting using Excel 4 macro
language
in
the define name area, however, I will show a vba routine to do this
also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And Target
<
""
Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your range/ranges.
I
would
consider selecting all the cells and defining a single name and
then
using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue
so
i
can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout
the
spreadsheet. the formulas are not identical.








  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Conditional Formatting

Wow...that worked perfectly!....how do you know all this??!!
It's mind boggling how these strange formulas get excel to do exactly what
you want it to do. thank you so much for taking the time to answer my
questions.

"T. Valko" wrote:

Which method are you using?

The UDF should work on any sheet.

If you're using the formula method change this:

=GET.CELL(48,A1)

To this:

=GET.CELL(48,!A1)

Make sure cell A1 is the active cell (is the selected cell) when you make
that change.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
ok...this tottally worked....amazing.
now i'm trying to conditionally format a different sheet in the same file
(same conditions...formula black font, value/text blue font) but its not
working.....does it only work on one sheet...the sheet with cell a1?

"T. Valko" wrote:

do you work for microsoft?

No.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
do you work for microsoft?

"T. Valko" wrote:

See this:

http://groups.google.com/group/micro...cf859ecd?tvc=2

It explains how to use conditional formatting to identify cells that
contain
formulas. It would be a simple matter of changing the formulas logic
to
identify cells that *do not* contain formulas.

Check it out and if you need further assistance just post back.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
first, just so you know, i'm pretty good at excel but not at the
"fancy"
stuff.
so i don't know what you mean by Excel 4 macro or VBA. I know how
to
record
macros and edit them a bit. i'm also confused as to how i do either
when
i've got hundreds of cells that i'm "checking". basically i'm
sending
out
a
model to many users and if they choos to key over my formula, i need
to
know,
hence the need to shade...

"Shane Devenshire" wrote:

Hi,

You can do this with conditional formatting using Excel 4 macro
language
in
the define name area, however, I will show a vba routine to do this
also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And Target
<
""
Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your range/ranges.
I
would
consider selecting all the cells and defining a single name and
then
using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to blue
so
i
can
see that they typed over the formula.
I need the formatting rule to apply to various cells throughout
the
spreadsheet. the formulas are not identical.









  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Formatting

how do you know all this??!!

I have mystical powers! <vbg

Nah, actually, there's more that I don't than there is that I do know.

Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
Wow...that worked perfectly!....how do you know all this??!!
It's mind boggling how these strange formulas get excel to do exactly what
you want it to do. thank you so much for taking the time to answer my
questions.

"T. Valko" wrote:

Which method are you using?

The UDF should work on any sheet.

If you're using the formula method change this:

=GET.CELL(48,A1)

To this:

=GET.CELL(48,!A1)

Make sure cell A1 is the active cell (is the selected cell) when you make
that change.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
ok...this tottally worked....amazing.
now i'm trying to conditionally format a different sheet in the same
file
(same conditions...formula black font, value/text blue font) but its
not
working.....does it only work on one sheet...the sheet with cell a1?

"T. Valko" wrote:

do you work for microsoft?

No.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
do you work for microsoft?

"T. Valko" wrote:

See this:

http://groups.google.com/group/micro...cf859ecd?tvc=2

It explains how to use conditional formatting to identify cells
that
contain
formulas. It would be a simple matter of changing the formulas
logic
to
identify cells that *do not* contain formulas.

Check it out and if you need further assistance just post back.

--
Biff
Microsoft Excel MVP


"Tami" wrote in message
...
first, just so you know, i'm pretty good at excel but not at the
"fancy"
stuff.
so i don't know what you mean by Excel 4 macro or VBA. I know
how
to
record
macros and edit them a bit. i'm also confused as to how i do
either
when
i've got hundreds of cells that i'm "checking". basically i'm
sending
out
a
model to many users and if they choos to key over my formula, i
need
to
know,
hence the need to shade...

"Shane Devenshire" wrote:

Hi,

You can do this with conditional formatting using Excel 4 macro
language
in
the define name area, however, I will show a vba routine to do
this
also:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
If IsNumeric(Target) And Not Target.HasFormula And
Target
<
""
Then
Target.Interior.ColorIndex = 6
End If
End If
End Sub

You would replace the Range("A1") reference with your
range/ranges.
I
would
consider selecting all the cells and defining a single name and
then
using
that name in the Range("myName") in place of A1.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tami" wrote:

I have a spreadsheet that has a formula in cell A1.
If a user types over it with a value, can the font change to
blue
so
i
can
see that they typed over the formula.
I need the formatting rule to apply to various cells
throughout
the
spreadsheet. the formulas are not identical.











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--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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