Solved

Formula to seperate date field

Posted on 2013-12-03
5
159 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 31

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 48

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 31

Expert Comment

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

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

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 31

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

707 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

17 Experts available now in Live!

Get 1:1 Help Now