BookmarkSubscribeRSS Feed
GreggB
Pyrite | Level 9

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.

3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12

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

GreggB
Pyrite | Level 9

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

ArtC
Rhodochrosite | Level 12

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1379 views
  • 0 likes
  • 3 in conversation