![]() |
€uromeinke, FEJ. and Ghoulish Delight RULE!!! NA abides. |
|
![]() |
#1 |
Chowder Head
Join Date: Jan 2005
Location: Yes
Posts: 18,500
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I have a spreadsheet that can only be downloaded as a tab delimited file. One of the fields is a date/time field that comes in as text in this format:
26-Jun-2014 10:11:13 AM PDT Obviously I cannot just format it as a date. The shortest way I have found to get this converted to a date is (assuming the source data is in column A):
So 1. Is there a simpler way to do this in Excel? I need to be able to sort/group/etc. the data by dates and other data in the spreadsheet (daily summary of debits and credits by company name in a monthly report) 2. Having never worked in Macros (but always willing to learn something new) how difficult is this to script so that the CSV file can be automatically processed once per month? I want to be able to hand off to our accounting department to handle (I could manually do this every month myself in probably less time than I would spend writing and testing said macro, but I would rather automate and give to someone else to handle). And I cannot change the report as it is provided: I gotta work with what I have.
__________________
The thing about quotes on the internet is that you cannot verify their validity.
- Abraham Lincoln |
![]() |
Submit to Quotes
![]() |
![]() |
#2 |
8/30/14 - Disneyland -10k or Bust.
|
The basic formula looks good: =DATEVALUE(LEFT(A1,11))
I would read Tab delimited data into "sheet2" and then use the formula on "sheet1" to format and display it the way the users need. Does that help at all?
__________________
- Taking it one step at a time.
|
![]() |
Submit to Quotes
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|