Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Conditional formating based on other cells

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Conditional formating based on other cells

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
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


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Conditional formating based on other cells

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
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



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Conditional formating based on other cells

Thanks for the feedback and thanks to John.


Gord

On Tue, 24 Jun 2008 17:41:00 -0700, Kimti
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
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
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 Formating based on Date Flcnmech Excel Worksheet Functions 1 February 14th 08 08:21 PM
Conditional Formating based on a different cell Zsolt Szabó Excel Discussion (Misc queries) 2 December 9th 06 09:18 PM
Conditional Formating Based on Date Roy Excel Discussion (Misc queries) 5 June 7th 06 04:49 PM
conditional formating cells i Excel based on other cells values Elias Petursson Excel Worksheet Functions 3 May 23rd 06 06:45 PM
conditional formating - Highlighting text cells based on sales res ANDREW_B Excel Discussion (Misc queries) 7 December 2nd 04 04:27 PM


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

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"