Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Custom Date format in Excel

someotherguy
8 - Asteroid

I'm trying to import an excel file with date/time data that has a custom excel format applied to show in mmm-yy format.  I need the yyyy-mm-dd data.

 

someotherguy_0-1633705879852.png

 

The Input preview already shows the date in mmm-yy format, so not sure how the parse tool could be used.

someotherguy_1-1633707018399.png

 

 

6 REPLIES 6
messi007
15 - Aurora
15 - Aurora

@someotherguy,

 

Please see below:

 

messi007_0-1633708630800.png

 

Attached the workflow,

Regards,

atcodedog05
22 - Nova
22 - Nova

Hi @someotherguy 

 

The limitation is with .xls file which is old format if you change it to .xlsx it will read it as proper dates.

 

Workflow:

atcodedog05_0-1633709210441.png

 

Hope this helps : )

someotherguy
8 - Asteroid

@messi007 it appears this solution changes the day to the 1st of every month, but the original data provides actual days in the month.

someotherguy
8 - Asteroid

@atcodedog05 this solution works but I was trying to avoid doing anything with the file. My current workaround is to remove the custom formatting and change it to short date, its only slightly longer than opening and saving the file with the format *.xlsx

someotherguy
8 - Asteroid

I ended up using this example to solve the solution without opening the file: I just had to change the xlsb references to xls.

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-change-xlsb-file-to-xlsx-using-...

 

atcodedog05
22 - Nova
22 - Nova

Awesome, thank you for sharing this @someotherguy 🙂

Labels