Rhino_Dance
Board Regular
- Joined
- Jul 23, 2008
- Messages
- 74
I have data in an Excel 'table' which was returned from MS QUERY. (I'm using the word 'Table' formally here). One field has entries that look like dates as in '2012-04-01' but the field is a text field and not a date field, and I need to change it to a date field to make it useful to me. The way I can tell it's not a date field is that I get a 'TRUE' to an ISTEXT function on it, as well as the fact that the results I get when I run an IF statement against the field confirm that none of the dates are passing tests that they should.
My Question: How can I change this field to a date field? I've tried highlighting the whole column and using the 'Format Cells' command to change it to a date format but it still remains a text field. Also, I don't want to add any companion fields as I 'm trying to automate a complex spreadsheet and write formulas directly against the query result. Thanks.
My Question: How can I change this field to a date field? I've tried highlighting the whole column and using the 'Format Cells' command to change it to a date format but it still remains a text field. Also, I don't want to add any companion fields as I 'm trying to automate a complex spreadsheet and write formulas directly against the query result. Thanks.