Hi all,
I am importing an Excel spreadsheet into Access and need to make basic calculations on some date fields. Seems easy enough, but some of the formatting gets lost when I import from Excel to Access and I'm not sure how to keep it how I'd like. The date fields in Excel are formatted like [h]:mm:ss. For example, the date "1/19/1900 8:22:00 PM" is displayed as "476:22:00". Likewise, "1/18/1900 10:42:00 AM" is displayed as "442:42:00". I can add the two values to obtain "919:04:00". When I bring the records into Access, "1/19/1900 8:22:00 PM" is now displayed as "20:22:00", essentially dropping off the "hours" attributed to the 19 days past 1/1. Now, when I group by and sum these different values, I am not getting the correct values. Is there a way to get Access to behave the same way that Excel is? I hope this makes sense. Thanks in advance for any suggestions.
Kelly
I am importing an Excel spreadsheet into Access and need to make basic calculations on some date fields. Seems easy enough, but some of the formatting gets lost when I import from Excel to Access and I'm not sure how to keep it how I'd like. The date fields in Excel are formatted like [h]:mm:ss. For example, the date "1/19/1900 8:22:00 PM" is displayed as "476:22:00". Likewise, "1/18/1900 10:42:00 AM" is displayed as "442:42:00". I can add the two values to obtain "919:04:00". When I bring the records into Access, "1/19/1900 8:22:00 PM" is now displayed as "20:22:00", essentially dropping off the "hours" attributed to the 19 days past 1/1. Now, when I group by and sum these different values, I am not getting the correct values. Is there a way to get Access to behave the same way that Excel is? I hope this makes sense. Thanks in advance for any suggestions.
Kelly