Need some help in Excel. $5 Paypal reward for the help

TangoJuliet

Diamond Member
Jul 2, 2006
5,595
1
76
If any of you visited MacRumors Buyers Guide you will not they have a notation of when a product was last update (ie 400 days). I would like to do the same thing in excel.

I have a column that shows something was updated on 5/5/10. I would like it to continually update to show how many days its been since it was updated. I'm not even sure if there is a formula that can do this but I come to AT for the help.

Thanks!!
 
Last edited by a moderator:

Tweak155

Lifer
Sep 23, 2003
11,448
262
126
Need a better description or maybe a screen shot with arrows pointing out what needs to happen. Is this supposed to read from a website?
 

BrokenVisage

Lifer
Jan 29, 2005
24,770
12
81
Actually.. maybe this could help? I wanted a function to show how long it's been since a help ticket was acknowledged, so I use the acknowledgement dates in one column formatted as mm/dd/yyyy and use this function to convert it to a julian date along with today's date and subtract one from the other to get the number of days between the 2.

=SUM((TEXT(TODAY(),"yy")&TEXT((TODAY() -DATEVALUE("1/1/"&TEXT(TODAY(),"yy"))+1),"000"))-(TEXT(A1,"yy")&TEXT((A1-DATEVALUE("1/1/"&TEXT(A1,"yy"))+1),"000")))

So, say your "updated" column with dates started in A1 (if not, change all the A1's in my string to what you need) all you have to do is paste the function into a cell on the same row and drag down as far as you need, the numbers will be how many days are between today and that date on each row. Save it, then each time you open the workbook the number should change dynamically depending on what today's date is. Not sure if it's what you need but maybe it helps.
 

JoeyP

Senior member
Aug 2, 2012
386
2
0
From your description, it sounds like you need some sort of record of a cell change having happened. If your column that you want to track is column 3 (C), you can record the date/time of change in column 4, and put the days since that change in column 5.

Open VBA editor, and add this to a Module:

Code:
 Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Column = 3 Then
        MsgBox ("saw cell in col 3 change")
        ' Put today's date in col 4
        Cells(Target.Row, 4).Value = Now
    End If
End Sub

Then put this formula in column 5 (assuming you're in row 15) would be:
=IF(OR(C15="",D15=""),"",ROUND(NOW()-D15,0))

Drag that up and down to calculate the cells.
 

quakeworld

Senior member
Aug 5, 2009
222
0
76
Hit F11 when in Excel

Then insert/module

then copy and paste this:

Sub Workbook_Open

MsgBox (Int(Now - Range("a2").Value))

end sub

It'll pop up a messagebox that tells you the number of days since the last update everytime the workbook opens.
 

JoeyP

Senior member
Aug 2, 2012
386
2
0
Is the date of change recorded somewhere in the row? If so, then post #5 has a good solution.

If the row doesn't have this date, you'll want to trigger off some other change (like a price in a certain column).
 

TangoJuliet

Diamond Member
Jul 2, 2006
5,595
1
76
Sorry it took so long to respond I was busy doing something

Here is a screen shot of what I am doing. Date Submitted you dont have to worry about. Date modified is when the last person did something to it. The "today" column will be so that we can see how long it has been since it was modified.

ie. In row 2 it says item 11343 was submitted on 1/27/09, modified on 6/3/11 and hasn't been "touched" in 400 (or so) days....the amount of time from 6/3/11 to today 9/14/12

Here is a screen shot

 

postmark

Senior member
May 17, 2011
307
0
0
Sorry it took so long to respond I was busy doing something

Here is a screen shot of what I am doing. Date Submitted you dont have to worry about. Date modified is when the last person did something to it. The "today" column will be so that we can see how long it has been since it was modified.

ie. In row 2 it says item 11343 was submitted on 1/27/09, modified on 6/3/11 and hasn't been "touched" in 400 (or so) days....the amount of time from 6/3/11 to today 9/14/12

Here is a screen shot


Just like people said above. In column G just put this function and fill down:

=INT(NOW()-F1)

That will make the today column = number of days since last modified.
 

Charles Kozierok

Elite Member
May 14, 2012
6,762
1
0
Just like people said above. In column G just put this function and fill down:

=INT(NOW()-F1)

That will make the today column = number of days since last modified.

Yep.

Or if you want to get fancy, something like:

=IF(INT(NOW()-F1)=0,"Today",IF(INT(NOW()-F1)=1,"Yesterday",INT(NOW()-F1)&" Days Ago"))
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |