+ Reply to Thread
Results 1 to 3 of 3

Disregarding info in cells outside set time limits.

  1. #1
    Registered User
    Join Date
    06-17-2009
    Location
    cardiff, GB
    MS-Off Ver
    Excel 2003
    Posts
    21

    Disregarding info in cells outside set time limits.

    Hi,
    I had a lot of help here last year and am now returning with another question.
    A database at work, when asked for information, has given me the following info - I asked for the info to be in excel format for manipulation purposes.

    Unfortunately the excel file generated has some cells that have data partly outside the parameters needed.

    In the example attached, you can see that there is a start time, a finish time and the total time elapsed.

    My problem is that I need, in this case, just to count the minutes elapsed from 06:00 hrs on the 8th Mar.

    If I do it in my head it is 7 min 58 secs. - Easy you say - yes, but I have about 2000 rows of data to sift through!

    Is there a formula or macro that can be run on all these 2000 cells to automatically disregard times that fall outside specifically set limits (in this case a 6:00 shift start time)?

    Many thanks,
    Clive.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Disregarding info in cells outside set time limits.

    Can't you just use formulae, ie:

    D2: =MAX(0,$B2-"08-Mar-2010 06:00")
    format as [h]:mm:ss

  3. #3
    Registered User
    Join Date
    06-17-2009
    Location
    cardiff, GB
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Disregarding info in cells outside set time limits.

    Quote Originally Posted by DonkeyOte View Post
    Can't you just use formulae, ie:

    D2: =MAX(0,$B2-"08-Mar-2010 06:00")
    format as [h]:mm:ss
    Thanks, DonkeyOte - I'll give it a go!

    Clive.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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