Copy Data from Partial Cell

Papi

Well-known Member
Joined
May 22, 2007
Messages
1,592
There is a report that comes with many notes in one cell as field personnel enter their information daily. What we end up with is a column with many data strings inside many cells. The way they enter the data is the newest note is on the top of the cell with an & Chr(10) separating the previous text. Is there a way to have the latest data pulled out of the cell to capture only that note. Say the data looks like below

(Cell M14)
Changed 2" safety relief valve.
Ordered 2" safety relief valve.
2" safety relief valve requires maintenance check.

The only data required is the last entry so we would need
(Cell N14 to return)
Changed 2" safety relief valve.

Is it possible to pull data from the top of the cell and stopping where it shows Chr(10)?
 

Some videos you may like

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Watch MrExcel Video

Forum statistics

Threads
1,109,368
Messages
5,528,276
Members
409,814
Latest member
Leon_Al

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top