Reputation: 1047
I need to put the date of column A in Column B. This is just a sample, I have more than 1,000 records.
Upvotes: 0
Views: 18
Reputation: 2502
You have three options:
Option 1: Import and Parse your Raw Data
It looks like your data is delimited by the pipe (|
) character. You can import your raw data file into excel, and parse it. Use the following steps to import your data. This will create columns for your ID, Date, Name, and Info fields.
Option 2: Parse your existing data in column A using Text to Columns
As suggested in the comments by @Scott Craner, you can use the "Text to columns" option in the Data tab to parse your data using the following steps:
Option 3: Parse your data using a formula
If you insist on using a formula to parse your data in column A, you can paste the following formula into cell B1 and copy down:
=TRIM(MID(A1,FIND("|",A1,1)+1,FIND("|",A1,FIND("|",A1,1)+1)-(FIND("|",A1,1)+1)))
This formula looks for the first and second occurrences of the pipe (|
) character, and grabs the text in between. It then uses the Trim()
function to remove whitespace before or after the text.
Upvotes: 1