Help using Base SAS procedures

Excel: populating a column with a date

Reply
Super Contributor
Posts: 268

Excel: populating a column with a date

Is there a formula that will put the date in Column B that indicates when some data was entered in Column A.  For example:

Gregg       02/14/2012

Mary        02/17/2017

Gregg visited my office on 02/14/2012 and I want to log that date.  Mary came to see me on 02/17/2012 and I want to log that but I don't want Gregg's date to change.  I want to preserve it.  If you use =NOW ( ) it changes.

Trusted Advisor
Posts: 2,113

Excel: populating a column with a date

I think that now() is an Excel function.  It seems like you have the wrong forum. 

In SAS, the TODAY() function could be used in conjunciton with the APPEND procedure to put the pieces together, but it seems like you are looking more for a data entry tool than a data manipulation tool.

Doc Muhlbaier

Duke

Super Contributor
Posts: 268

Excel: populating a column with a date

it is an Excel question.  I didn't know where else to go.

Valued Guide
Posts: 632

Excel: populating a column with a date

If you are populating the Excel table from within SAS the EXCELXP tagset has the capability to take advantage of excel functions.  questions on this tagset are best posted in the ODS forum.

Ask a Question
Discussion stats
  • 3 replies
  • 127 views
  • 0 likes
  • 3 in conversation