[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Excel 2010 question

Posted on 2016-10-17
3
Medium Priority
?
103 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 34

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 34

Accepted Solution

by:
Rob Henson earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
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…

873 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