The following picture shows the result if the formula above is executed in Excel, for example with the VBA formula evaluator.
Note that the column D, whose values were initialized with the #date keyword, is not automatically rendered a in a date-format in Excel (as is the column B). Rather, the Table.TransformColumnTypes is necessary for that.