PC Review


Reply
Thread Tools Rate Thread

Conditional formating based on other cells

 
 
Kimti
Guest
Posts: n/a
 
      25th Jun 2008
I want to see todays date in cell A1 if I type any thing in cell B1, and I
want that date to stay same until I delete the value in cell B1
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      25th Jun 2008
That would not be Conditional Formatting

From John McGimpsey...................

Using circular references and worksheet functions
You can use a circular reference to enter the time when a change is made in
another cell, then maintain that time. Choose Tools/Options/Calculation
(Preferences/Calculation for Macs) and check the Iteration checkbox. Then, if
your target cell is A1 and you want the date/time to appear in A1, enter this in
A1:

=IF(B1="","",IF(A1="",NOW(),A1))

Format A1 as you wish to display date, time, or both. If B1 is initially blank,
A1 will return a null string (""). When a value is entered into B1, A1 will
evaluate as "", therefore NOW() will be returned. After that (as long as B1
remains populated), A1 will evaluate to a date/time and therefore will return
the value in A1 - i.e., the date/time.

...................................................


Gord Dibben MS Excel MVP


On Tue, 24 Jun 2008 16:58:01 -0700, Kimti <(E-Mail Removed)>
wrote:

>I want to see todays date in cell A1 if I type any thing in cell B1, and I
>want that date to stay same until I delete the value in cell B1


 
Reply With Quote
 
Kimti
Guest
Posts: n/a
 
      25th Jun 2008
Thank you very much for your help. It worked.

"Gord Dibben" wrote:

> That would not be Conditional Formatting
>
> From John McGimpsey...................
>
> Using circular references and worksheet functions
> You can use a circular reference to enter the time when a change is made in
> another cell, then maintain that time. Choose Tools/Options/Calculation
> (Preferences/Calculation for Macs) and check the Iteration checkbox. Then, if
> your target cell is A1 and you want the date/time to appear in A1, enter this in
> A1:
>
> =IF(B1="","",IF(A1="",NOW(),A1))
>
> Format A1 as you wish to display date, time, or both. If B1 is initially blank,
> A1 will return a null string (""). When a value is entered into B1, A1 will
> evaluate as "", therefore NOW() will be returned. After that (as long as B1
> remains populated), A1 will evaluate to a date/time and therefore will return
> the value in A1 - i.e., the date/time.
>
> ...................................................
>
>
> Gord Dibben MS Excel MVP
>
>
> On Tue, 24 Jun 2008 16:58:01 -0700, Kimti <(E-Mail Removed)>
> wrote:
>
> >I want to see todays date in cell A1 if I type any thing in cell B1, and I
> >want that date to stay same until I delete the value in cell B1

>
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      25th Jun 2008
Thanks for the feedback and thanks to John.


Gord

On Tue, 24 Jun 2008 17:41:00 -0700, Kimti <(E-Mail Removed)>
wrote:

>Thank you very much for your help. It worked.
>
>"Gord Dibben" wrote:
>
>> That would not be Conditional Formatting
>>
>> From John McGimpsey...................
>>
>> Using circular references and worksheet functions
>> You can use a circular reference to enter the time when a change is made in
>> another cell, then maintain that time. Choose Tools/Options/Calculation
>> (Preferences/Calculation for Macs) and check the Iteration checkbox. Then, if
>> your target cell is A1 and you want the date/time to appear in A1, enter this in
>> A1:
>>
>> =IF(B1="","",IF(A1="",NOW(),A1))
>>
>> Format A1 as you wish to display date, time, or both. If B1 is initially blank,
>> A1 will return a null string (""). When a value is entered into B1, A1 will
>> evaluate as "", therefore NOW() will be returned. After that (as long as B1
>> remains populated), A1 will evaluate to a date/time and therefore will return
>> the value in A1 - i.e., the date/time.
>>
>> ...................................................
>>
>>
>> Gord Dibben MS Excel MVP
>>
>>
>> On Tue, 24 Jun 2008 16:58:01 -0700, Kimti <(E-Mail Removed)>
>> wrote:
>>
>> >I want to see todays date in cell A1 if I type any thing in cell B1, and I
>> >want that date to stay same until I delete the value in cell B1

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formating multiple cells in 1 row based on a list of d Clinton Microsoft Excel Worksheet Functions 1 25th Nov 2009 12:27 AM
Conditional formating of a range of cells based on the left-most c Bob Arnett Microsoft Excel Discussion 3 4th Apr 2009 03:14 PM
Conditional Formating based on many cells basic Microsoft Excel Misc 5 13th Nov 2008 03:10 AM
conditional formating cells i Excel based on other cells values =?Utf-8?B?RWxpYXMgUGV0dXJzc29u?= Microsoft Excel Worksheet Functions 3 23rd May 2006 06:45 PM
Conditional Formating of cells based on value in another cell Vlip Microsoft Excel Programming 1 24th Sep 2004 09:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:30 AM.