Solved

How to un concatenate data

Posted on 2013-02-06
2
788 Views
Last Modified: 2013-02-06
I have the following information in one column: St900Wk5Day41273
I need to have 6 separate columns: St  900 Wk 5 Day 41273
I can't select the column and use the Text to Columns option b/c some of the store numbers have 4 digits, for example: St1326Wk8Day41298
so it'll have to be St 1326 Wk 8 Day 41298...Is there a formula that can separate it correctly?
Thanks!
0
Comment
Question by:Ladkisson
2 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 350 total points
ID: 38860396
Formulas from left to right for your six columns (assuming only the store number shifts from 3-4 characters)

St
=--mid(a1,3,find("Wk",a1)-3)
Wk
=--mid(a1,find("Wk",a1)+2,find("Day",a1)-find("Wk",a1)-2)
Day
=--mid(a1,find("Day",a1)+3,len(a1))
0
 

Author Closing Comment

by:Ladkisson
ID: 38860457
Wonderful! Thank you!
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

This collection of functions covers all the normal rounding methods of just about any numeric value.
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

707 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

15 Experts available now in Live!

Get 1:1 Help Now