Copy the last cell at the same collum

Iโ€™d like to copy the last cell at the same collum to โ€œInitial Valueโ€

Solved Solved
0 2 398
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

Try:

LOOKUP(
  MAXROW(
    "table-name",
    "_ROWNUMBER",
    ([_THISROW].[_ROWNUMBER] > [_ROWNUMBER])
  ),
  "table-name",
  "key-column",
  "column-name"
)

replacing table-name with the name of the table, key-column with the name of that tableโ€™s key column, and column-name with the name of the column containing the desired value.

The above gets the value from the row before the one youโ€™re working with, which may not be the last row of the worksheet if youโ€™re editing an existing row. The below always gets the value from the last row (not including the one youโ€™re editing):

LOOKUP(
  MAX(
    table-name[_ROWNUMBER]
    - LIST([_ROWNUMBER])
  ),
  "table-name",
  "_ROWNUMBER",
  "column-name"
)

See also:





View solution in original post

2 REPLIES 2

Steve
Platinum 4
Platinum 4

Try:

LOOKUP(
  MAXROW(
    "table-name",
    "_ROWNUMBER",
    ([_THISROW].[_ROWNUMBER] > [_ROWNUMBER])
  ),
  "table-name",
  "key-column",
  "column-name"
)

replacing table-name with the name of the table, key-column with the name of that tableโ€™s key column, and column-name with the name of the column containing the desired value.

The above gets the value from the row before the one youโ€™re working with, which may not be the last row of the worksheet if youโ€™re editing an existing row. The below always gets the value from the last row (not including the one youโ€™re editing):

LOOKUP(
  MAX(
    table-name[_ROWNUMBER]
    - LIST([_ROWNUMBER])
  ),
  "table-name",
  "_ROWNUMBER",
  "column-name"
)

See also:





Itยดs worked !!!
Thanks a lot

Top Labels in this Space