Solved

Excel 2010 question

Posted on 2016-10-17
3
38 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 31

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 31

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

762 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

20 Experts available now in Live!

Get 1:1 Help Now