Forum Discussion

sam_nik12345's avatar
sam_nik12345
Helper II
4 years ago
Solved

date error

my data looks like below:

monthvalue
jan'181
feb'181
mar'181
apr'181

 

Here monh column is in text type and when I try to change to date type, I get all errors. How do I fix this?

Kinldy help.

  • amitchandak's avatar
    amitchandak
    4 years ago

    sam_nik12345 ,  Try the other option suggested

    Column = DATEVALUE("01-"& left([month],3) & "-" & RIGHT([month],2) )

     

     

4 Replies

  • sam_nik12345 , I would prefer to create a date column  like

     

    DATEVALUE("01 " &[Month])

    or

    DATEVALUE("01-" &left([Month],3) & "-"& right([month],2))

    • sam_nik12345's avatar
      sam_nik12345
      Helper II

      Hi amitchandak 

       

      I am getting error while creating a custom column with the formula-

       

      DATEVALUE("01 " &[Month])

      • amitchandak's avatar
        amitchandak
        Super User

        sam_nik12345 ,  Try the other option suggested

        Column = DATEVALUE("01-"& left([month],3) & "-" & RIGHT([month],2) )