I have a table of lottery drawings in a row form per each drawing (say Pick-3). What I need is a function or formula that will allow me to copy any of the row from the drawing table to a reserve row CELL[B56,C56,D56] by specifying which row to copy in CELL[C52].
Example:
1) Last row of drawing table: CELL[B41,C41,D41] has a content of a type-number 8-5-6 respectively. The next drawing will be place at CELL[B42,C42,D42] and so on.
2) Let say, I want to choose row 41 to be copy (or any row from the drawing table) by specifying 41 into the content of a reserve cell CELL[C52].
3) The content of row(41) CELL[B41,C41,D41] is copy into row CELL[B56,C56,D56] respectively.
4) By changing the number (denote by x) in CELL[C52], The content of row-x CELL[Bx,Cx,Dx] is copy into CELL[B56,C56,D56] respectively.
Essentially the formula or function of row CELL[B56,C56,D56] is using the content of CELL[C52] to point to (or copy from) the content of row CELL[B41,C41,D41] respectively.
what I have tried, but result in error relating to data type (between type-number and type-text):
DRAWING ROW: B41=8,C41=5,D41=6
SELECTED ROW: C52=41
POINTER ROW: B53="B"&C52 ; C53="C"&C52 ; D53="D"&C52 [ <<== result in a text-type]
RESERVED ROW: B56=value("B"&C52) ; C56=value("C"&C52) ; D56=value("D"&C52) [ <<== result in data-type error]
Note: I think I need to convert the POINTER ROW data from text-to-number? how?
thanks in advance,
Zero
Example:
1) Last row of drawing table: CELL[B41,C41,D41] has a content of a type-number 8-5-6 respectively. The next drawing will be place at CELL[B42,C42,D42] and so on.
2) Let say, I want to choose row 41 to be copy (or any row from the drawing table) by specifying 41 into the content of a reserve cell CELL[C52].
3) The content of row(41) CELL[B41,C41,D41] is copy into row CELL[B56,C56,D56] respectively.
4) By changing the number (denote by x) in CELL[C52], The content of row-x CELL[Bx,Cx,Dx] is copy into CELL[B56,C56,D56] respectively.
Essentially the formula or function of row CELL[B56,C56,D56] is using the content of CELL[C52] to point to (or copy from) the content of row CELL[B41,C41,D41] respectively.
what I have tried, but result in error relating to data type (between type-number and type-text):
DRAWING ROW: B41=8,C41=5,D41=6
SELECTED ROW: C52=41
POINTER ROW: B53="B"&C52 ; C53="C"&C52 ; D53="D"&C52 [ <<== result in a text-type]
RESERVED ROW: B56=value("B"&C52) ; C56=value("C"&C52) ; D56=value("D"&C52) [ <<== result in data-type error]
Note: I think I need to convert the POINTER ROW data from text-to-number? how?
thanks in advance,
Zero