Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Excel Formula

Thread Tools
 
Search this Thread
 
Old 19th Sep 2017, 23:40
  #1 (permalink)  
Thread Starter
 
Join Date: Dec 2014
Location: North Yorkshire
Age: 35
Posts: 361
Likes: 0
Received 0 Likes on 0 Posts
Excel Formula

I need a cell to display the date (month+year e.g. 09/17) the adjacent cells in the same row were changed, if I change them. So for example if I change any cell between A and G in row 1, then cell H1 would automatically update to the current month of the year.

Hope that makes sense and MTIA for any forthcoming help...if it makes a difference I'm using Excel 2016.
Cautious Optimist is offline  
Old 20th Sep 2017, 01:45
  #2 (permalink)  
 
Join Date: Dec 2013
Location: Norfolk
Age: 67
Posts: 1
Likes: 0
Received 0 Likes on 0 Posts
The NOW() function will return the current date and time in a cell and of course you can call this function and enter it into a cell whenever data is changed, but the big problem with this approach is that it is not automatic and the date and time will change when the spreadsheet is recalculated unless you cut and copy the date and time and paste it back as text or some fixed value. Not a lot of help!

The solution lies with using a Visual Basic routine to insert this information for you and preserve the last date and time the data was changed. The exact details are far too complex to clearly lay out here, but a Google search for "Excel recording date and time of data change" will reveal several sites from which you may cut and paste the necessary code to suit your application.

The Visual Basic editor is part and parcel of Excel so you should have no problem following the instructions and getting one of these routines to work for your application.
G0ULI is offline  
Old 27th Sep 2017, 15:52
  #3 (permalink)  
 
Join Date: Mar 2003
Location: England
Posts: 286
Likes: 0
Received 0 Likes on 0 Posts
Hi Co,

What you are asking for is somewhat non trivial. Because you need to keep track of the old data and when it is changes. Really, you should be using a database.

You can do it in Excel, but it is a bit like using a screwdriver as a chisel, it might work - but only with a lot more effort.

If I wanted something like this, I would be tempted to have a web page front end linked to a database all running on a raspberry pi.

EG
ExGrunt is offline  
Old 19th Oct 2017, 13:20
  #4 (permalink)  
 
Join Date: Jan 2008
Location: London, England
Age: 56
Posts: 300
Likes: 0
Received 0 Likes on 0 Posts
Have a look at this...
https://www.extendoffice.com/documen...l-changes.html
MacBoero is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.