Hi Guys
I am just wondering if there is an easy way of recording the date in say cell A2 when the value in cell A1 has been changed. Then in cell A3 calculate the number of days since the value in cell A1 was changed.
Thanks in advance.
Hi Guys
I am just wondering if there is an easy way of recording the date in say cell A2 when the value in cell A1 has been changed. Then in cell A3 calculate the number of days since the value in cell A1 was changed.
Thanks in advance.
Hi,
In cell A3 put in this formula and format the cell as General:
=IF(ISNUMBER(A2),TODAY()-A2,"")
Then right click on the worksheet's tab > View code, paste in the below code:
![]()
Please Login or Register to view this content.
I have tried it but how do I check if it works?
Would this also work for minutes and seconds?
I have been playing with this have now got my head around it.
Works perfectly.
To take it one step further, how would I check all cells in row N for example.
Here is the code I am using now.
![]()
Please Login or Register to view this content.
Last edited by Slinky; 04-03-2011 at 09:34 AM.
Sorry should have been row E for example.
Hi,
Good stuff. You can check if a cell was changed in column E like this:I have been playing with this have now got my head around it.
Works perfectly.
![]()
Please Login or Register to view this content.
Last edited by Colin Legg; 04-03-2011 at 09:45 AM. Reason: replies reset
Thanks for that Colin
Works great
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks