이상한 증상이 있는 전치술이 있습니다

전치가 실행되고 열의 첫 번째 셀이 "배치 0"이고 그 뒤의 모든 셀이 비어 있을 때, 저는 그 셀을 "배치 1"로 채우고 싶습니다. 어떻게 할 수 있는지 아십니까?
다음은 당신이 원하는 작업을 수행할 수 있는 작은 스크립트입니다.

If( :"RSC TCANEAL/ furnace/ 5139"n[1] == "Batch 0",
Try(
:"RSC TCANEAL/ furnace/ 5139"n[Current Data Table() << get rows where(
Is Missing( :"RSC TCANEAL/ furnace/ 5139"n )
)] = "Batch 1"
)
);
다음은 완전한 예입니다.
Names Default To Here( 1 );
New Table( "Example",
Add Rows( 25 ),
New Column( "RSC TCANEAL/ furnace/ 5139",
Character,
Set Values(
{"Batch 0", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", ""}
)
)
);
If( :"RSC TCANEAL/ furnace/ 5139"n[1] == "Batch 0",
Try(
:"RSC TCANEAL/ furnace/ 5139"n[Current Data Table() << get rows where(
Is Missing( :"RSC TCANEAL/ furnace/ 5139"n )
)] = "Batch 1"
)
);짐, 고맙습니다. 4열부터 반복하고 첫 번째 행을 제외하고 비어 있는 열에만 작용하도록 수정했습니다.
colList1 = Data Table( "Transpose of History" ) << get column names( string );<BR /><BR />For( i = 1, i <= N Cols( Data Table( "Transpose of History" ) ), i++,
If( Column(colList1[i])[1] == "Batch 0" & Col N Missing( As Column(colList1[i]) ) == NRow()-1,
Try(
Column(colList1[i])[Current Data Table() << get rows where(
Is Missing( As Column(colList1[i]) )
)] = "Batch 1"
)
)
);