Hi all,
I have the below text which I have imported from a text file into Sheet 2, Cell A28. I would like to extract parts of the text into Sheet 1 as below. The X, X_2, Y, Z, Z_2 are axis of a machine and will never change. The numbers after will change. From other posts I think I might need the IFERROR and FIND formula but I'm no expert. Any help would be greatly appreciated.
N80 $P_UIFR[5]=CTRANS(X,63,X_2,63,Y,106.05,Z,-70,Z_2,-70,A,0.0) :CFINE(X,0.0+R320,X_2,-0.020+R324,Y,-0.035+R321,Z,0.05+R322,Z_2,0.005+R323,A,0.0) ;G505 A0 = 20001, 21221, 21224, 21201, 21204, 25601-03 COM.CH.
From Sheet 2 to be displayed in Sheet 1, A2, A3, A4, A5 as follows: -
[TABLE="width: 96"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]G505
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]X
[/TD]
[TD="bgcolor: transparent, align: right"]0.0
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]X_2
[/TD]
[TD="bgcolor: transparent, align: right"]-0.020
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]-0.035
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Z
[/TD]
[TD="bgcolor: transparent, align: right"]0.005
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you,
Paul.
I have the below text which I have imported from a text file into Sheet 2, Cell A28. I would like to extract parts of the text into Sheet 1 as below. The X, X_2, Y, Z, Z_2 are axis of a machine and will never change. The numbers after will change. From other posts I think I might need the IFERROR and FIND formula but I'm no expert. Any help would be greatly appreciated.
N80 $P_UIFR[5]=CTRANS(X,63,X_2,63,Y,106.05,Z,-70,Z_2,-70,A,0.0) :CFINE(X,0.0+R320,X_2,-0.020+R324,Y,-0.035+R321,Z,0.05+R322,Z_2,0.005+R323,A,0.0) ;G505 A0 = 20001, 21221, 21224, 21201, 21204, 25601-03 COM.CH.
From Sheet 2 to be displayed in Sheet 1, A2, A3, A4, A5 as follows: -
[TABLE="width: 96"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]G505
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]X
[/TD]
[TD="bgcolor: transparent, align: right"]0.0
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]X_2
[/TD]
[TD="bgcolor: transparent, align: right"]-0.020
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]-0.035
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Z
[/TD]
[TD="bgcolor: transparent, align: right"]0.005
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you,
Paul.
Last edited: