+ Reply to Thread
Results 1 to 17 of 17

Date stamp

  1. #1
    Registered User
    Join Date
    10-31-2014
    Location
    Connecticut, USA
    MS-Off Ver
    2007
    Posts
    4

    Date stamp

    Hello everyone. I am looking for some help on what I am sure is simple but here it goes.

    PO numer Acknowledge
    4501475751 Y 10/31/2014
    4501471230 Y 10/31/2014
    4501475877 y 10/31/2014
    4501475142 Y 10/31/2014
    4501471278 y 10/31/2014
    4501477016 Y 10/31/2014
    4501477024 Y 10/31/2014
    4501477871 Y 10/31/2014
    4501478432 y 10/31/2014
    4501478466 y 10/31/2014
    4501478480 y 10/31/2014
    4501478487 y 10/31/2014
    4501407817 y 10/31/2014
    4501481421 Y 10/31/2014


    Above is my basic spreadsheet that is suprisingly becomeing my bosses favorite thing after about 2 days lol.

    this is the formula in the 3rd column:

    =IF(ISBLANK(A2)," ",TODAY())

    As you can see I am trying to make the date the line is entered appear once the line has been populated.
    The issue I have is every time you open the document, it updates to todays date.

    I am sure ites because I am using teh =Today() function but how do I make it keep the date it was entered. I know it seams lazy but I dont want to have to type in the date. Some of teh people I work with are not computer savy so the least amout that they have to do is better.


    The second column is sortable so that you can see what PO is not acknowledged and only those. This spreadsheet, (along with my other coworkers) updates to a master list that has the same properties, which is a whole other question on that sheet but I'll tackle one at a time.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Date stamp

    If you can live with the date being in text format versus a date/time format then try this: =IF(ISBLANK(A2)," ",TEXT(TODAY(),"mm/dd/yyyy"))

    Edit: Ignore this suggestion. I tested and it does not hold water.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Date stamp

    @Alan: why would that formula not have the same outcome as the original, except as text? What am I missing?


    It can be done, but ... see: I need a static date/time in Excel

    Helpful Member! xlhelp (Instructor)
    18 Sep 09 11:13

    Please use with caution.

    There is a way to have static date stamp using formulas and iterative function of Excel. The problem arises if there is indeed a circular reference in one of the other formulas besides the date stamp.

    But, if you must, then here is the solution.

    Suppose you want the static date stamp in cell B2.

    First, go to Tools; Options; Calculation and put a check mark in the "Iteration" check box. Then, go to cell B2 and enter the following formula:

    =IF(A2="","",IF(B2="",NOW(),B2))

    As long as cell A2 is blank, there will be nothing in cell B2; but, as soon as there is an entry in A2, B2 will have static Date and time stamp.

    You may need to reformat cell B2.

    There are, no doubt, countless references to this method; this is just the first I found. Personally, I'd prefer the VBA approach.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Date stamp

    This can be done by playing with the iteration options or through VBA. VBA is the easiest and safest (IMHO). Right click on the sheet tab >"View Code" and paste this code into the white text box. Then close the VBA editor (no need to save). You will need to save your workbook as an xlsm or xls file.This code will enter the date into column C whenever you enter or change something in column A
    Please Login or Register  to view this content.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Date stamp

    See also this thread in this forum: Static Date Stamp without using a macro?

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Date stamp

    I used this many times without any problem.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Date stamp

    @Trevor: My edit comment indicates that it fails as it does act exactly the same as if it were a date format. Maybe the colloquial "does not hold water" is an unfamiliar term in the UK. It is a line from the movie, "My Cousin Vinnie." meaning it is not valid.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Date stamp

    @Alan: sorry, completely missed the edit. I think my mind was probably locked on the question of how it was different and didn't move beyond the formula. I'd say it was my eyesight but I had a test this morning and they're OK

    No, "does not hold water" is meaningful over here too ... so I did understand it. From what I can gather, there may have been earlier references than "My Cousin Vinnie"

    Regards, TMS

  9. #9
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Date stamp

    A good deal further back, I believe it originates from the Old Testament of the Bible, Jeremiah 2:13
    "My people have committed two sins: They have forsaken me, the spring of living water, and have dug their own cisterns, broken cisterns that cannot hold water." The broken cisterns was the worship of religious idols.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Date stamp

    @ChemistB: yes, I saw that reference, too.

  11. #11
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Date stamp

    @ChemistB--Thanks for that information.

  12. #12
    Registered User
    Join Date
    10-31-2014
    Location
    Connecticut, USA
    MS-Off Ver
    2007
    Posts
    4

    Re: Date stamp

    Thanks for the quick responses guys :-)
    =IF(A2="","",IF(D2="",NOW(),D2))
    When I use this formula I just get an answer of "0"

    Edit: Oops I didnt finish typing.
    this is a basic If, Than, Else formula corect?

    Also I have 2007 version so I dont seem to have an option to get to the "iteration"
    Last edited by TheNamelessPoet; 10-31-2014 at 11:10 AM.

  13. #13
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Date stamp

    Basically, you just have a circular reference.

    Click on the big Office logo/icon. Select Excel Options near the bottom and then Formulas. Tick Enable Iterations.

  14. #14
    Registered User
    Join Date
    10-31-2014
    Location
    Connecticut, USA
    MS-Off Ver
    2007
    Posts
    4

    Re: Date stamp

    Quote Originally Posted by TMS View Post
    Basically, you just have a circular reference.

    Click on the big Office logo/icon. Select Excel Options near the bottom and then Formulas. Tick Enable Iterations.
    I can't believe thats the only place I didn't look. lol
    Thank you for the help guys!

    I do have another question but I think this is more complicated. Ill post it here but if it needs its own thread let me know.

    The office I work in, we have 4 people we each have a spreadsheet. I then have a master list that all 4 connect to. Is there a way to update something on the master list and have that update the other individual lists?

    The basic reason for this is, as we get an acknoledgement we update our own list. At the end of the day any one of us can go through the ones that came through by fax, etc. Is there a way that information can go back and forth between the 5 seperate files?
    Last edited by TheNamelessPoet; 10-31-2014 at 11:39 AM. Reason: typo

  15. #15
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Date stamp

    It's unlikely that you could update the "slaves" from the Master, given that they are likely to be in use and therefore open with full access.

    However, it is possible that the slaves could open a read only copy of the Master on a regular, or ad-hoc basis, and copy the data from the Master.

    But that's a VBA solution


    Regards, TMS



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.
    Last edited by TMS; 10-31-2014 at 12:13 PM.

  16. #16
    Registered User
    Join Date
    10-31-2014
    Location
    Connecticut, USA
    MS-Off Ver
    2007
    Posts
    4

    Re: Date stamp

    The "slaves" would be closed at that time, but this will work for now. Man I love Excel :-)

    Thanks a ton for all th help!

  17. #17
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Date stamp

    You're welcome. Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need vba code to change date&time stamp as date format dd-mmm-yy in A:A rng
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2014, 06:08 AM
  2. Replies: 6
    Last Post: 02-08-2013, 08:29 AM
  3. Need to capture date data in a text string containing a date and time stamp
    By Grilleman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2013, 01:14 PM
  4. [SOLVED] Create a button that will date stamp todays date in a cell
    By Tom Meacham in forum Excel General
    Replies: 3
    Last Post: 01-10-2006, 09:10 PM
  5. [SOLVED] Date stamp spreadsheet in excel to remind me of completion date
    By Big fella in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-18-2005, 12:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1