+ Reply to Thread
Results 1 to 12 of 12

Is it possible for cells to automatically date themselves when edited

  1. #1
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Is it possible for cells to automatically date themselves when edited

    Hi,

    I am creating a tracking and monitoring tool for my school.

    Within this tool is a sheet where teachers record the level that each child is working at for a particular area- in this example the area is maths.

    I have created drop down menus so that staff can select the colour that pupils have achieved, however I need a date for when levels have been achieved. However, I would prefer not to have to create another column where teachers then must add a date.

    Is it at all possible for the cell to automatically display the date of when a new cell colour has been selected?

    I doubt it but always worth asking you experts if it is a possibility.

    Please can you let me know ASAP as I am supposed to be sharing my ideas with colleagues by the end of this week.

    Thank you very much for your support
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: Is it possible for cells to automatically date themselves when edited

    Hello Kev:
    I believe you should rethink your approach. Currently the cell has the name of the color within it. If you change this so that this value is the date then you'd loose the name of the color. And loosing the color name means you loose the ability to sort/filter/count/etc by the level the student is currently at.

    Though also don't believe a color system is a good approach to grade individuals as colors really don't have a clear objective meaning while a grade does. Or words like wip,complete,not yet all have clear meanings.

    Anyway ... that's my two cents.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Is it possible for cells to automatically date themselves when edited

    If you're open to having VBA code in your workbook, you(we) can write a date next to any "color" cell that is changed by a user.

    If no...Here's something that *might* work for you.

    With
    F1:F4 containing this list
    Color
    Red
    Green
    Blue

    G1: Lookup Color
    G2: =F2&"_"&TEXT(TODAY(),"mm/dd/yyyy")
    Copy G2 down through G4

    Now, if you set your data validation lookup range to: G2:G4

    The list will display a color and a date.
    Example:
    Red_11/17/2014
    Green_11/17/2014
    Blue_11/17/2014

    Those values will stand until the color is changed.


    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Re: Is it possible for cells to automatically date themselves when edited

    Thanks nimrod.

    We need to use colours as these link in directly to progression pathways that we have created for each curricular area. I have attached an example of a progression pathway to explain what I mean. Think I might just need to create a second column next to each colour?
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Re: Is it possible for cells to automatically date themselves when edited

    Thanks Ron, I think I am following you here. Is there no way that we could just get it to display the date and not the colour name also?

    If not, then Any chance you could do a couple of cells for me with what you proposed so that I fully understand- I am very basic when it comes to excel.

    What is a VBA- would there be any issues with using this?

  6. #6
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Is it possible for cells to automatically date themselves when edited

    1) I don't see any dropdowns in your workbook.
    Which cells would contain them?

    2) How will you use the dates?
    If you will occaisionally check them, we could provide code that puts the date in the cell's comment. Hovering over the cell would produce a pop-up window containing the date changed (and any other info: Changed by?)

    If you need to do analyses based on the dates, then we'd need to write them to another location (column)

  7. #7
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Re: Is it possible for cells to automatically date themselves when edited

    Sorry, I deleted sheets that I thought were not relevant to this topic but now realised that one of the sheets contained a lookup table needed for the cells. Yes a pop up window with the dates would be fantastic!!! We would only need to see the date if we were worried that a child was not making clear progress and so then need to check how long he has been at a particular level.

    Please find attached an update spreadsheet that should have working drop down menus.

    I cant thank you enough for your support.
    Attached Files Attached Files

  8. #8
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Is it possible for cells to automatically date themselves when edited

    Here's what I did with your file.

    • I assigned a range name to the color input area: rngColorInput
    • I added VBA code to the Worksheet_Change event that, based on the cell value: Adds/Edits/Removes the cell comment

    This is the VBA code:
    Please Login or Register  to view this content.
    When you open the file, you'll be prompted to allow macros...Allow them!

    Please, test the input area and let me know if it works as expected.
    Attached Files Attached Files

  9. #9
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Is it possible for cells to automatically date themselves when edited

    Welcome to the Forum, unfortunately:

    This is a duplicate post here with different group working...
    Ben Van Johnson

  10. #10
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Is it possible for cells to automatically date themselves when edited

    Thanks for the info, protonleah.
    Had I known that another solution was accepted hours ago in another post, I would have been trying to help others instead of wasting my time on this post. 'nuf said.

  11. #11
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Re: Is it possible for cells to automatically date themselves when edited

    A sincere apology everyone. I am quite new to this and did not think about the problems that may have been caused by adding two posts the same. I was simply trying to spread the word- incase people were only reading one forum- in the hope to find a solution.

    Ron- the problem was not solved on the other thread so your work has not went to waste. Thank you very much- your solution seems to work perfectly.

    Lesson learned for me here.

    Sorry for any trouble I have caused and thank you again for finding a solution.

  12. #12
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Is it possible for cells to automatically date themselves when edited

    Glad I could help.

+ 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: 1
    Last Post: 02-02-2013, 08:00 PM
  2. [SOLVED] Need a date stamp when cells in a column are edited
    By Lar1000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2012, 03:45 PM
  3. Replies: 1
    Last Post: 09-17-2012, 01:07 AM
  4. Replies: 1
    Last Post: 06-09-2010, 01:05 PM
  5. [SOLVED] Posted date in a range of cells that can't be edited after three d
    By andycapp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2006, 02:25 AM

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