+ Reply to Thread
Results 1 to 8 of 8

Update cell on most recent change

  1. #1
    Forum Contributor
    Join Date
    10-03-2016
    Location
    Sydney, Australia
    MS-Off Ver
    MS 365
    Posts
    128

    Update cell on most recent change

    Hi there,

    I have three cells that will always have data change in it, I would like a fourth cell to show the most recently updated cell.

    I assume if would be some kind of "IF" statement but I'm not sure how to write it.

    The cells with the data are O34, O35, O36. I want the formula to go into cell O38. If O34 is updated, I want cell O38 to show this number, then if O35 is updated, O38 will change from showing the value in O34 and show the value of O35 now, and so on.

    Thank you

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Update cell on most recent change

    There is no formula that would do that. That would require some sort of VBA program running on that sheet at all times watching those cells. Do you use VBA in your projects? Not everyone can or will allow executables in their Excel.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Update cell on most recent change

    Here's a shorter version of the other posting in the other thread:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Update cell on most recent change

    Here's a shorter version of the other posting in the other thread
    Yes but not turning off events will make the code run again when cell O38 is updated. Not turning off screen updating with one cell is fair enough.
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  5. #5
    Forum Contributor
    Join Date
    10-03-2016
    Location
    Sydney, Australia
    MS-Off Ver
    MS 365
    Posts
    128

    Re: Update cell on most recent change

    Hi Logit,

    Thanks for your code, it works, with one slight exception. The only way it will update is if I click on the cell and press "Enter". The cells are taking there volumes from another sheet, is there a way to make the code automatically update as soon as the value changes without the need to press enter?

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Update cell on most recent change

    Use this syntax:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-03-2016
    Location
    Sydney, Australia
    MS-Off Ver
    MS 365
    Posts
    128

    Re: Update cell on most recent change

    Thanks Logit!

  8. #8
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Update cell on most recent change

    Your welcome. Merry Christmas !

+ 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. Update numbers from most recent date
    By dhlawton in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-27-2016, 08:20 AM
  2. [SOLVED] Using Offset function, want automatic update of 30 points of most recent data
    By BigBobBobson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-20-2015, 09:30 AM
  3. Replies: 1
    Last Post: 02-11-2015, 01:27 PM
  4. Help with formula for checking most recent update
    By neilwilson in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-06-2012, 02:12 AM
  5. Replies: 1
    Last Post: 10-21-2012, 05:03 PM
  6. Replies: 4
    Last Post: 07-06-2012, 03:55 PM
  7. Excel blocked by recent update
    By tks2109 in forum Excel General
    Replies: 1
    Last Post: 11-13-2009, 03:28 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