convert textdata file from matrix layout to xyz format

gsmpei

New Member
Joined
Oct 20, 2006
Messages
1
Hello all, this is my first post and thank you.

I have a clinical depth data file in the following matrix format.

567
891

I have produced the x-y coordinates on two different sheets, then concatenated the appropriate x- and y- coordinates with the corresponding depth i.e. the "5" would have for example x,y coordinate
-9.5,9.5, the "6" would be -9.5,7.0. This data then goes to a milling machine which requires the data to be in 3 columns (the x and y with the appropriate z).

My method works, but unfortunately my clinical data is never the same size and I end up with rows of cells to delete (hundreds). Is there a way I can manipulate the imported file to be in a 3 column xyz format containing only the data in the matrix?

Thanks in advance for any advice,
Grant
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi gsmpei:

Welcome to the board

Could you give a specific example of the data you are working with and the expected outcome you desire...while you have started the explaination, it is not totally clear.

plettieri
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,391
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top