Formula convert date to month format

R

Raine

I need your help...

What is the correct formula if I need to convert the date to a text value in
a month format?
I have two columns the DATE column and then the MONTH column.
Date - particular date in a month with MM/DD/YYYY value
Month - Mid Month if the date will fall from 1-15 and the End Month if it is
16-31.

Example:
Date Month
09/01/2008 Mid Sep
09/02/2008 Mid Sep
09/15/2008 Mid Sep
09/16/2008 End Sep
09/29/2008 End Sep
09/30/2008 End Sep
10/01/2008 Mid Oct
10/02/2008 Mid Oct
10/14/2008 Mid Oct
10/15/2008 Mid Oct
10/16/2008 End Oct
10/17/2008 End Oct
10/22/2008 End Oct

Thank you!
 
G

Gary''s Student

With your data in column A, in B1 enter:

=MID(A1,SEARCH(" ",A1&" ",SEARCH(" ",A1&" ",1)+1)+1,SEARCH(" ",A1 & "
",SEARCH(" ",A1&" ",SEARCH(" ",A1&" ",1)+1)+1)-SEARCH(" ",A1&" ",SEARCH("
",A1&" ",1)+1)-1)

and copy down.
 
R

Raine via OfficeKB.com

Gary''s Student said:
With your data in column A, in B1 enter:

=MID(A1,SEARCH(" ",A1&" ",SEARCH(" ",A1&" ",1)+1)+1,SEARCH(" ",A1 & "
",SEARCH(" ",A1&" ",SEARCH(" ",A1&" ",1)+1)+1)-SEARCH(" ",A1&" ",SEARCH("
",A1&" ",1)+1)-1)

and copy down.

Hi Gary, thank you for the formula. I just encountered some problem with it.
A message prompted "You entered too many arguments for this function.
I need your help...
[quoted text clipped - 22 lines]
Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top