Solved

Formula to seperate date field

Posted on 2013-12-03
5
170 Views
Last Modified: 2013-12-03
Hi Experts

I have the date in column a row 3 as Dec 20, 2013...
But I would like to show it as Dec 20 only in col B3..
0
Comment
Question by:route217
  • 4
5 Comments
 
LVL 32

Assisted Solution

by:Rob Henson
Rob Henson earned 334 total points
ID: 39692137
Do you want it actually converted to actually hold only day and month in the cell or purely show only the day and month.

The latter can be done easily with formatting, a custom format of "dd mmm" would do it. Apply to either column A or have formula in column B =A3 and then apply formatting to that.

For truncating to only day and month you would use:

=text(day(a3),"dd")&" "&text(month(a3),"mmm")

Thanks
Rob H
0
 
LVL 49

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 166 total points
ID: 39692139
Hi,

If your date is a date and not a text

=TEXT(A3,"MMM DD")

Open in new window

Regards
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39692143
Sorry, amendmen to that as it doesn't work:

=TEXT(A3,"dd")&" "&TEXT(A3,"mmm")
0
 
LVL 32

Accepted Solution

by:
Rob Henson earned 334 total points
ID: 39692147
Or as Rgonzo1971 suggests but with the format the other way round.

=TEXT(A3,"DD MMM")

Thanks
Rob H
Edit: My bad, Rgonzo had it right way round, apologies.
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39692150
Along similar lines, correction to custom format suggestion would be "MMM DD"

Thanks
Rob H
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now