Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 78
Default Possible Conditional Formatting Workaroud?

I have conditional formatting already set to shade a row differently for 3
conditions. But I also need to have a date cell's value change to red if
it's manually changed.

I'm wondering if there's a way to use Excel's custom number format feature
to do this?

Here's the layout:
G - Submission Date (manually entered)
H - Hidden Workdays field to determine a 3 day Due Date date based on G
I - Displayed Due Date field that equals value of H
J - Hidden # Days Turnaround Field in General format (currently equals I -
G but can change that to H-G if I need to do that to make this work)

I want to have I's value display in RED if J<3 (or since they'd have to
manually change the displayed date, not sure if it's possible (or desirable)
to have the RED formatting dependant on the field being manually changed?).

Since I don't need to use I's value for calculations (can use H instead if
needed), can I use a custom number format that changes the manually entered
date to RED (I would be okay with it changing the format from mm/dd/yy to
mm-dd-yy if that was the only way to achieve the result -or even changing it
to text if needed).

If so ... what code do I need to do this?

Don't know if I would need to have the cell stay as a date field unless it's
changed & then apply the custom format that changes it to whatever works for
this? Or if it can all have the custom format and still look like the other
dates (mm/dd/yy).

The more I think about it, the more confused I get but I can't help thinking
it may be possible. I'm clearly in over my head here so I'd appreciate any
help anyone can give me with this.

Thank you all!

--
JoAnn
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 897
Default Possible Conditional Formatting Workaroud?

If you wanted a VBA solution, you could use the Worksheet_Change Event
as a full replacement for conditional formatting. The code would be
placed in a sheet module (see http://www.rondebruin.nl/code.htm for
placement instructions).

For example, this code pops up a msgbox every time you edit a range,
giving you the range address.

Private Sub Worksheet_Change(ByVal Target As Range)

MsgBox "You edited cell(s) " & Target.Address & "."

End Sub


HTH,
JP

On Mar 7, 8:40*am, JoAnn wrote:
I have conditional formatting already set to shade a row differently for 3
conditions. *But I also need to have a date cell's value change to red if
it's manually changed.

I'm wondering if there's a way to use Excel's custom number format feature
to do this?

Here's the layout:
G - Submission Date (manually entered)
H - Hidden Workdays field to determine a 3 day Due Date date based on G
I - *Displayed Due Date field that equals value of H
J - *Hidden # Days Turnaround Field in General format (currently equals I -
G but can change that to H-G if I need to do that to make this work)

I want to have I's value display in RED if J<3 (or since they'd have to
manually change the displayed date, not sure if it's possible (or desirable)
to have the RED formatting dependant on the field being manually changed?)..

Since I don't need to use I's value for calculations (can use H instead if
needed), can I use a custom number format that changes the manually entered
date to RED (I would be okay with it changing the format from mm/dd/yy to
mm-dd-yy if that was the only way to achieve the result -or even changing it
to text if needed).

If so ... what code do I need to do this? *

Don't know if I would need to have the cell stay as a date field unless it's
changed & then apply the custom format that changes it to whatever works for
this? Or if it can all have the custom format and still look like the other
dates (mm/dd/yy).

The more I think about it, the more confused I get but I can't help thinking
it may be possible. *I'm clearly in over my head here so I'd appreciate any
help anyone can give me with this.

Thank you all!

--
JoAnn


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
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 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting Cheryl Excel Worksheet Functions 1 July 19th 06 02:43 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 07:18 PM.

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"