Working with Dates: Calculating A Running Total for Days Held

  • Thread starter Thread starter Mcasteel
  • Start date Start date
M

Mcasteel

PROBLEM 1

I have 2 columns, One column with Dates entered, and one column that
would like to calculate how many days it has been since the dat
entered.

_Date_Entered_(Or_Purchased)_ This is column "A"


_Days_Since_Date_Entered_(or_Todays_date_less_Date_entered)_ This i
column "BT"
How do I created a formula for this column based on Date Entered?


PROBLEM 2

Column "BU" is a drop down box that gives 2 possible choices.
1. Incomplete
2. Complete

When the end user chooses complete, I want the system date to show i
column "BV".

Does anyone have any suggestions? (I'm an Excel novice) Thank you
 
To calculate the number of days: =A1-B1

To calculate the number of work days: =NETWORKDAYS(a1-b1)

HTH,
Gary Brown
 
Problem 2: Assuming this is ListBox1, put this code in the listbox code
module:

Private Sub ListBox1_Click()
If ListBox1.Value = "Complete" Then
Range("BV1").Value = Now
Else
Range("BV1").Value = ""
End If
End Sub

Format the cell for the date display of your choice.

Mike F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top