Forum Discussion

Mitchell Hogg's avatar
Mitchell Hogg
Copper Contributor
Dec 20, 2016

TYPE FUNCTION to Merge MM/DD with YYYY

I defined cell A1 to contain 01/01 and cell B1 to contain 2017, both stored as text.

Using =TYPE(A1&"/"&B1) it displays as Monday, January 02, 1900.

I expected Sunday, January 01, 2017.

 

The Evaluate Formula does show at one level TYPE("01/01/2017") then the next level is the Monday, January 02, 1900 value.

 

Try to correct for the wrong day I changed the formula to =TYPE(A1&"/"&B1)-1 resulting in Sunday, January 01, 1900; thus the Day of the week and Day of the Month corrected but the year is still 1900.

 

 

This is Excel 2013.

4 Replies

Resources