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
268 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

726 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