+ Reply to Thread
Results 1 to 6 of 6

Auto Date in a cell-

  1. #1
    Forum Contributor
    Join Date
    01-24-2013
    Location
    NY,NY
    MS-Off Ver
    MS 365
    Posts
    250

    Auto Date in a cell-

    I was wondering if there's a formula that would automatically update a cell with the current date as you enter data in a different cell.

    Example: Cell A1 i would enter "order placed", then in B1 it will display the date I entered the data.

    Thank you,

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Auto Date in a cell-

    Formula for B1

    Please Login or Register  to view this content.
    A better solution is a macro.

    Right click on your sheet name at the bottom of excel and select view code.

    Paste this code in the window that opens. then close the window.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 04-21-2016 at 11:15 AM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

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

    Re: Auto Date in a cell-

    This is something you would typically do with VBA.
    Assuming you will be entering data in A2:A1000 and you want Col B to contain the date.
    Right click on the sheet tab and "View Code". Paste this code into the text box
    Please Login or Register  to view this content.
    Does that work for you?
    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

  4. #4
    Forum Contributor
    Join Date
    01-24-2013
    Location
    NY,NY
    MS-Off Ver
    MS 365
    Posts
    250

    Re: Auto Date in a cell-

    Thank you so very much for the response-

    The VBA code is awesome! However what if I wanted the date to show on a different column as oppose to column B say I wanted the date to be in column J. What then?
    Last edited by thursday140; 04-21-2016 at 11:36 AM.

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

    Re: Auto Date in a cell-

    The offset line of code is what is determining the column. B is one offset from A (where you are entering data) so J is offset 9. Replace 1 with 9.

  6. #6
    Forum Contributor
    Join Date
    01-24-2013
    Location
    NY,NY
    MS-Off Ver
    MS 365
    Posts
    250

    Re: Auto Date in a cell-

    Thank you all!

+ 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. Replies: 0
    Last Post: 01-29-2013, 04:59 PM
  2. Auto Update Cell with Date when something changes
    By Rojter in forum Excel General
    Replies: 0
    Last Post: 09-19-2011, 11:04 AM
  3. auto populate date in cell if there is info in another cell.
    By yoseph in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-25-2011, 03:03 PM
  4. Auto Sort, Auto Lock, Auto Date & Time Stamp
    By suehatesyou in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2010, 02:57 PM
  5. auto date in cell
    By stevesunfold in forum Excel General
    Replies: 8
    Last Post: 09-20-2008, 02:31 PM
  6. Auto adding date to a cell
    By johncon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2008, 10:07 AM
  7. auto date cell when adjacent cell has data entered?
    By kalisun in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-01-2007, 12:49 PM
  8. Auto Date Cell
    By Boethius1 in forum Excel General
    Replies: 2
    Last Post: 01-20-2006, 07:25 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