Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Rick
 
Posts: n/a
Default Insert date automatically

I have a column with values such as:
3/25

3/24

3/29
3/21
3/21
3/21

And wish to automatically add todays date if the value of the cell is blank
in the mm/dd format. I have used an =If(Column:Column="",TODAY()) in a
column next to it and formatted it in mm/dd to get the desired result. But
how can I take this value (todays date) and insert it back into the original
column automatically and without changing the other valuse?

As always thank you!

Rick
  #2   Report Post  
Dave O
 
Posts: n/a
Default

Hi, Rick: Here's one way.

Step 1 is to make a backup of your original file so you have a fallback
in case something goes horribly wrong. Assuming your date column is
currently A, insert a new column to the right of that: call it column
B. Enter a formula in column B for each relevant cell in column A:
=IF(A1="",TODAY(),A1)
.... then copy this formula for the remaining cells.

This will use today's date for blank cells, but will show the existing
date if the cell is not blank.

Copy the new column and paste it as values into column A. The original
values will be right where they started, and the blanks will now be
filled with today's date.

  #3   Report Post  
Rick
 
Posts: n/a
Default

Thanks for the assistance. I followed your suggestion, but created a macro
to automate the copy and paste of the final product. Worked very well.
Thanks again.

"Dave O" wrote:

Hi, Rick: Here's one way.

Step 1 is to make a backup of your original file so you have a fallback
in case something goes horribly wrong. Assuming your date column is
currently A, insert a new column to the right of that: call it column
B. Enter a formula in column B for each relevant cell in column A:
=IF(A1="",TODAY(),A1)
.... then copy this formula for the remaining cells.

This will use today's date for blank cells, but will show the existing
date if the cell is not blank.

Copy the new column and paste it as values into column A. The original
values will be right where they started, and the blanks will now be
filled with today's date.


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
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM
Challenging Charting C TO Charts and Charting in Excel 0 January 17th 05 06:57 PM
how do i make a date change automatically if i change one before . dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 09:21 PM
Function to automatically insert a new sheet as a result of data entry? Mark Mulik Excel Worksheet Functions 2 November 28th 04 02:21 AM
How to change (delivery) days and automatically the receive date in an other cell? Elboo Excel Worksheet Functions 5 November 22nd 04 02:44 PM


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