Solved

Excel 2010 question

Posted on 2016-10-17
3
66 Views
Last Modified: 2016-10-21
How do I change the data  from

Snap1317.jpg
to


Snap1318.jpg
0
Comment
Question by:Hiroyuki Tamura
  • 2
3 Comments
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41846899
Assuming data in cells B1 and C1, use the following formulae:

A1:  =B1
A2:  =MID($C$1,1,7)
A3:  =MID($C$1,9,7)
A4:  =MID($C$1,17,7)
A5:  =MID($C$1,25,7)
A6:  =MID($C$1,33,7)
A7:  =MID($C$1,41,7)
A8:  =MID($C$1,49,7)

You will no doubt notice the only difference for each formula is the number in the middle. The number represents the starting position for the next string to be extracted, the 7 is then the number of characters to extract. The starting point is incrementing by 8 each time because although your values are only 7 characters each, the invisible carriage return in the cell counts.

No doubt this is a very simplified version of the data so the above is going to need to be tweaked to allow for multiple lines and no doubt differing quantities of entries in column C.

A more accurate representation of the data in a file uploaded would help give a better answer.

Thanks
Rob H
0
 
LVL 32

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 41846915
Assuming you have multiple entries, the following will change the entry into a "pipe symbol" separated string:

=B1&CHAR(124)&SUBSTITUTE(C1,CHAR(10),CHAR(124))

You can then copy and paste as values and use Text to columns using the pipe separator as a delimiter. this will then put the values into separate columns which can then be copied and pasted, transposed into rows.
0
 

Author Comment

by:Hiroyuki Tamura
ID: 41853978
thank you.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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