incorrect date formate downloade

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Incorrect date formate downloaded from SAP | Excel forum

Incorrect date formate downloaded from SAP | Excel forum

resolvedResolved · High Priority · Version 2007

Leila has attended:
Excel Advanced course

Incorrect date formate downloaded from SAP

I'm trying to sort from oldest to newest on my spreadsheet however because of the format date from SAP it will not allow me to use this function.

Please advise.
Thank you,
Leila

Edited on Wed 25 Sep 2013, 10:05

RE: Incorrect date formate downloaded from SAP

Hi Leila

Thanks for getting in touch. You will need to perform a process on the incorrect date to convert it into a more acceptable format. What you need will vary according to how much work is required.

Can you reply with a sample of a few 'broken' dates that you download? I should then be able to advise on the best way to fix them.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Incorrect date formate downloaded from SAP


Hi Gary,

Please see below Mark Monroe has actually seen the spreadsheet and was going to get back to me on this message.
I hope this information is sufficent.

Thanks,
Leila

PO Doc Date
01.08.2012
01.08.2012
01.09.2012
01.10.2012
01.11.2012

RE: Incorrect date formate downloaded from SAP

Hi Leila

Thanks for the data. For this I would use a combination of the DATE, LEFT, RIGHT and MID functions.

Assuming your data starts in A1, I would put another column adjacent to it and enter the following formula:

=DATE(RIGHT(A1,4),MID(A1,4,2),LEFT(A1,2))

The DATE function creates a date out of its constituent parts (the day, the month, the year). We extract these parts from the source data using the LEFT, RIGHT and MID functions. In turn each of these looks at the cell and pulls out a certain number of characters.

RIGHT(A1,4) extracts 4 characters from the right of A1.

LEFT(A1,2) extracts the first 2 characters from cell A1.

MID(A1,4,2) counts 4 characters in from the left, then extracts 2 characters.

After you've assembled the date, you can then format the cell using your preferred date format.

I hope this helps.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Incorrect date formate downloaded from SAP



Hi Gary,

this is what I ran but its not working and populating with #name? in the field next to the date.

=data(RIGHT(A5,4),MID(A5,4,2),LEFT(A5,2))

Thanks,
Leila

RE: Incorrect date formate downloaded from SAP

Hi

Just a small tweak - you've written "data" instead of "date".

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Incorrect date formate downloaded from SAP


Thank you it's worked!


 

Excel tip:

Printing spreadsheets without opening them first

Here's a fast way of printing a spreadsheet from Windows Explorer/My Computer.

Go to the location where the spreadsheet is saved on your computer, then right-click on the icon next to the document and select Print from the menu.

The spreadsheet will automatically open, print and close itself.

View all Excel hints and tips


Server loaded in 0.07 secs.