• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Value err

Tharun Kumar G

New Member
Please help me understand why I am getting value error in the attached file and how I can get rid of the same to extract the right month.
 

Attachments

  • Value error reason.xlsx
    9.1 KB · Views: 8
Provided data look like date are actually TEXT.

s.. in B2
=MONTH(DATEVALUE(A2))

or

=MONTH(A2*1)

and in F2 use formula as..
=DATEVALUE(LEFT(E2,10))
 
Hi Tharun ,

Try this :

=(MID(E2,4,3)&LEFT(E2,3)&MID(E2,7,4))+RIGHT(E2,LEN(E2)-10)

The above will convert the data in column E to proper date + time combinations ; now you can use the MONTH( ... ) function or the TEXT( ... ) function to retrieve the month in your desired format.

Narayan
 
Back
Top