+ Reply to Thread
Results 1 to 3 of 3

Run Error 5: Sorting Dates and Data

  1. #1
    Registered User
    Join Date
    06-25-2007
    Posts
    7

    Run Error 5: Sorting Dates and Data

    Hi,

    So the initial problem I'm trying to solve is I have a spreadsheet with a column with a lists of dates and another column with a list of corresponding priority. So what I want it to do is go through the list, start a tab of how many workdays there are total in the range, also tabulate how many of each instance of priority there are and then return that information in a different spreadsheet to represent how many of these occur on a daily (averaged) basis. With the On Error Goto removed, the error occurs when I use the DateDiff function

    Please Login or Register  to view this content.
    Any help would be great. Thanks.

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388
    Quote Originally Posted by acidtrik
    the error occurs when I use the DateDiff function
    Please Login or Register  to view this content.
    The interval in the DateDiff function has to be a string, so change the above to:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-25-2007
    Posts
    7
    thanks that did the trick

+ 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