Results 1 to 6 of 6

VBA help calculating UK and US date/times

Threaded View

  1. #1
    Registered User
    Join Date
    01-14-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    VBA help calculating UK and US date/times

    Hi guru's/geniuses/masterminds and helpers

    I have this quite good macro that looks at the data in 1 sheet and neatly collates the information with some calculation results in a 2nd sheet.

    The issue that I have is sheet 1 contains many dates in US format and when they are calculated doesn't return the correct result.

    I have narrowed it down to this. If the data returned from the macro is recognised as a US date, it works fine eg 15/1/15

    However if the data returned from the macro is not recognised as a US date, it doesnt work and returns a false or negative value eg 05/05/15

    I have tried so many things to change the lookup data but none of it makes any difference. I think it is something to do with the way the value's are calculated.

    Any help is appreciated.

    Evan
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Need to know how many times a unique date appears more than three times for each location
    By justaguyintx in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-15-2015, 03:04 PM
  2. Calculating Times
    By Lemarzo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2015, 01:16 AM
  3. calculating inter arrival times and statistical distribution of these times
    By ditmar.rijk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-19-2014, 03:18 AM
  4. Calculating a minutes duration based on start and end date and times
    By chrispx001 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2013, 08:16 AM
  5. Macro Loop – Find Specific Times, Extract Date, Average Values of Times
    By ExcelQuestFL in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-25-2010, 02:50 PM
  6. Replies: 1
    Last Post: 02-05-2009, 03:39 PM
  7. Macro to help sort date - times and average similar times.
    By ferretydeath in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2008, 05:44 PM

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