Hi Peter,
You can try calling vfind X-function to find row numbers, and use it to read cell value. See scripts below:
dataset ds;
range aa = col(2)[10:25];
vfind ix:=aa value:=10 ox:=ds;
range bb = col(1)[10:25];
bb[ds[1]] = ;
For details of vfind X-function, please refer to the following link:
http://wiki.originlab.com/~originla/wiki2/index.php?title=X-Function:Vfind
Best Regard,
Jessie
Originlab Corp.