Hi and Happy New Year.
I have a formula that is getting a list of dates from a separate spreadsheet - for this example let's call the external spreadsheet 'Sheet1.xls and the cell is A1. A1 is formatted as General.
Some dates maybe just the year "yyyy", eg, 2018 0r 2017 and so on - and other dates maybe "dd/mm/yyyy" eg, 04/01/2018 or 21/06/1992 and so on and the formula should look at the date and return it exactly as it is written in the spreadsheet it is pulling from.
I should say that I am in the UK and our date format is dd/mm/yyyy.
So the formula should return 2018 if only the year is in the other spreadsheet or it should return 04/01/2018 if that is what is in the other spreadsheet but it is returning the date as 1905.
I have been working on this all evening and I have tried so many of the various solutions offered on forums and web pages but none work, I feel I am just going around in circles and getting nowhere.
I have not come across this problem before and there must be a formula that returns exactly what is entered in a specific cell without trying to alter it in any way?
Any help or suggestions would be greatly welcome and appreciated.
I have a formula that is getting a list of dates from a separate spreadsheet - for this example let's call the external spreadsheet 'Sheet1.xls and the cell is A1. A1 is formatted as General.
Some dates maybe just the year "yyyy", eg, 2018 0r 2017 and so on - and other dates maybe "dd/mm/yyyy" eg, 04/01/2018 or 21/06/1992 and so on and the formula should look at the date and return it exactly as it is written in the spreadsheet it is pulling from.
I should say that I am in the UK and our date format is dd/mm/yyyy.
So the formula should return 2018 if only the year is in the other spreadsheet or it should return 04/01/2018 if that is what is in the other spreadsheet but it is returning the date as 1905.
I have been working on this all evening and I have tried so many of the various solutions offered on forums and web pages but none work, I feel I am just going around in circles and getting nowhere.
I have not come across this problem before and there must be a formula that returns exactly what is entered in a specific cell without trying to alter it in any way?
Any help or suggestions would be greatly welcome and appreciated.