Solved

Formula to seperate date field

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

776 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