In one of my mashdata, the XL file read is a parameter. I don't think that's very important to understand, but just in case... The columns are the same in all these excel files.
Nevertheless, I think it should be the same behaviour with only one XL file in which, sometime there are some empty values in a date column.
Depending on missing value, the date column is considered as text or date.
My objective is to add a column to determine if we are late and if yes, how many days. (it would be enough to know if we are late or not I think).
Any idea ?
I found how to calculate a difference of days between too dates (by changing the type and using an arythmetic component). But I am blocked with the treatment of the empty values :
- if I know that the type of the date will be text, I have a workaround but then, the replace function Iuse does not work when the column will be considered as a date.
- if I know that the type will be date it works but when it is consider as text, it does not.
What is the best solution to manage the empty fields ?
Laurent