Solved

Copying part of a text cell in Excel

Posted on 2013-12-09
4
306 Views
Last Modified: 2013-12-09
I have a spreadsheet with cell which contain dates.  The format is this "Thu 23 January 2014".  I want to copy only the date i.e. "23 January 2014" to another cell.  Please keep in mind this covers the entire year from 1 January 2014 to 31 December 2014.
0
Comment
Question by:mabarnes11
4 Comments
 
LVL 12

Expert Comment

by:duttcom
ID: 39707229
The Thu is only appearing because of the cell's formatting. If you copy the value of one cell to another, you only need to set the format of the copied cell to the date only format and the Thu will not appear.
0
 

Author Comment

by:mabarnes11
ID: 39707248
Not true.  The cell containing the current day, date is a text cell containing these text letters and numbers "Thu 23 January 2014" and will not format.
0
 
LVL 14

Accepted Solution

by:
Geisrud earned 500 total points
ID: 39707266
Assuming your text is in cell A1
=RIGHT(A1,(LEN(A1)-4))
0
 
LVL 11

Expert Comment

by:Angelp1ay
ID: 39707271
It seems Excel doesn't recognise that format for a date.

You can:
- Add a column with the formula: =RIGHT(A2,LEN(A2)-4)
- Add another column and copy > paste values into it from the formula column
- Select your new column, select from the ribbon tab Data > Text to Columns
- Select delimited to make sure your date isn't split, and select the date column type
- Delete the first 2 columns

...now you actually have dates Excel recognises! :)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel Named Range 31 46
Tricky Shapes formula part 4 4 14
Find the duplicates in 32 23
Get the Y value of a line at X in a chart in VBA 28 28
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,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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