+ Reply to Thread
Results 1 to 5 of 5

Use excel to calculate the time and number of days between two dates imported from Outlook

  1. #1
    Registered User
    Join Date
    08-27-2012
    Location
    Johannesburg
    MS-Off Ver
    Excel 2010
    Posts
    3

    Use excel to calculate the time and number of days between two dates imported from Outlook

    Good day all
    Background

    I work for a small design consulting house. We send sales people to meet with clients and then get a design brief from the client. Once the sales representative returns to the office he will fill out a folder and assign each brief a unique code. the folder will contain the detailed hand drawing, the client details and any other information that is needed.

    The sales representative then e-mails the technical department, and tells them that they have a file for collection. After finishing the technical aspect of the folder they then send an e-mail to the next department, telling them to collect the file.

    The file moves from the Sales representative, to technical, to procurement, to finance, to sales support and finally back to the sales representative, completing the cycle.

    I need to track the amount of time that the file spends in each department using the date and time stamp on the outlook e-mail.
    Currently we do not have any system in place and I have been copying suggestions in other threads, but none seem to work for my needs:
    1. the date and time stamp in Outlook does not seem to be compatible with the date format in Excel?
    2. I need to take working hours (08:00-17:00) and weekends into account.

    I am not an advanced or expert user, but do understand the basics of formulas etc.

    Any advice and or help will be greatly appreciated.
    Regards

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,043

    Re: Use excel to calculate the time and number of days between two dates imported from Out

    Can you upload example workbook?

    make sure to hide all private and confidential data.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    08-27-2012
    Location
    Johannesburg
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Use excel to calculate the time and number of days between two dates imported from Out

    Proposed Blue file tracker.xlsx
    Hi zbor, thanks for the reply. I hope that I have attached correctly (as mentioned before - I am a bit of a technophobe )

  4. #4
    Registered User
    Join Date
    08-27-2012
    Location
    Johannesburg
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Use excel to calculate the time and number of days between two dates imported from Out

    Bump to the top.....
    I have been told that this can not be done.
    Any takers before I close off?

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,418

    Re: Use excel to calculate the time and number of days between two dates imported from Out

    The date/times you have in K3 and L3 of your example are in text format, so you will first have to convert those into Excel format. This formula will convert K3 into a date/time that Excel recognises:

    =DATEVALUE(MID(K3,5,LEN(K3)-13))+VALUE(MID(K3,16,5)&":00")+IF(RIGHT(K3,2)="PM",0.5,0)

    and the following will do the same to L3:

    =DATEVALUE(MID(L3,5,LEN(L3)-13))+VALUE(MID(L3,16,5)&":00")+IF(RIGHT(L3,2)="PM",0.5,0)

    Perhaps you can make use of these in a NETWORKDAYS formula (I'm not sure if that takes account of times).

    Post back if you need further help.

    Hope this helps.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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