Solved

How would I automate the deletion of all text except for the date in the Excel file described below?

Posted on 2014-01-29
4
227 Views
Last Modified: 2014-01-29
I have attached an excel file that contains 3 columns.

In column C - DTE column  some of the dates also contain "All labs obtained on (mm/dd/yyyy):"   In front of the date.  I have a much larger file with many of these types of entrees.

How can I automate the deletion of this text in front of the date so there will only be dates in the cells in the DTE column. thanks
eesample.xlsx
0
Comment
Question by:PDSWSS
  • 3
4 Comments
 
LVL 2

Accepted Solution

by:
bearblack earned 500 total points
ID: 39819145
=IFERROR(IF(SEARCH(":",C2)>0,RIGHT(C2,LEN(C2)-SEARCH(":",C2)),C2),C2)

This needs to be entered into cell D2 then copied to the least row of your data.
0
 

Author Comment

by:PDSWSS
ID: 39819196
Perfect and thank you.  PDSWSS
0
 

Author Closing Comment

by:PDSWSS
ID: 39819200
Worked as requested.
0
 

Author Comment

by:PDSWSS
ID: 39819524
Hi BearBlack,

I just posted another excel question. Thought you may want to try a solution for this one as well -

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28351724.html
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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

758 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