ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Today or Now functio (https://www.excelbanter.com/excel-discussion-misc-queries/19910-today-now-functio.html)

Patrick Foley

Today or Now functio
 
I have a cell that calculates the entry date of the row
eg =IF(A1630,$A$1,"No Data") In A1 I have =today()
This formula works fine but as I add a new row to the sheet the entry for
the day before changes to the current date. I want the entrys before current
entry to keep the date that was already there.

Jane

The =TODAY() function is linked to your computer's clock, so the formula you
described will always show today's date. What you would need to do, at the
end of each day, is copy the cell with the formula and paste
special...values. Then, you remove the link to today and the date will
always be the date you pasted values.

Hope this helps,
Jane

"Patrick Foley" wrote:

I have a cell that calculates the entry date of the row
eg =IF(A1630,$A$1,"No Data") In A1 I have =today()
This formula works fine but as I add a new row to the sheet the entry for
the day before changes to the current date. I want the entrys before current
entry to keep the date that was already there.


Dave O

Your formula will work all day because Excel evaluates TODAY as the
same date all day. When you open the file the next day Excel will
replace the date in A1 with the current date, and change the cells that
depend on cell A1.

One workaround for this is to copy the cells in question, and Paste
Special them back over those same cells as values. This replaces the
formula with the value of the formula.


Gord Dibben

Patrick

Instead of having = TODAY() in A1, just enter the date using CTRL +
;(semi-colon).

It will be the current date when entered and remain static.


Gord Dibben Excel MVP

On Wed, 30 Mar 2005 15:57:01 -0800, "Patrick Foley"
wrote:

I have a cell that calculates the entry date of the row
eg =IF(A1630,$A$1,"No Data") In A1 I have =today()
This formula works fine but as I add a new row to the sheet the entry for
the day before changes to the current date. I want the entrys before current
entry to keep the date that was already there.




All times are GMT +1. The time now is 05:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com