What will be formula to IF column X Contains Value Yes then copy Data from above Row
Solved! Go to Solution.
Replace TRUE
in the inner SELECT() with an expression to limit the list of row numbers to only those below this rowโs (([_ROWNUMBER] < [_THISROW].[_ROWNUMBER])
๐
IFS(
([ColumnX] = "Yes"),
ANY(
SELECT(
TableName[Date],
[_ROWNUMBER]
= MAX(
SELECT(
TableName[_ROWNUMBER],
([_ROWNUMBER] < [_THISROW].[_ROWNUMBER])
)
)
)
)
)
or, equivalently:
IFS(
([ColumnX] = "Yes"),
LOOKUP(
MAX(
SELECT(
TableName[_ROWNUMBER],
([_ROWNUMBER] < [_THISROW].[_ROWNUMBER])
)
),
"TableName",
"_ROWNUMBER",
"Date"
)
)
User | Count |
---|---|
16 | |
10 | |
10 | |
8 | |
3 |