Forum Discussion
Maj786
Feb 25, 2024Copper Contributor
Help with an Excel Formula
Hello all, First time poster here. I need help on creating a formula on excel for the scenario below, please help as im really struggling Scenario: In sheet 1, I have a scenario (colum...
PeterBartholomew1
Feb 25, 2024Silver Contributor
This assumes the pattern of 3 rows and 2 columns per scenario persists throughout the entire dataset.
= LET(
statusRow, WRAPROWS(TOROW(statusBlock, 1), 4),
scenarioStatus, BYROW(statusRow, LAMBDA(s,
IFS(
AND(s="PASS"), "PASS",
OR(s="FAIL"), "FAIL",
AND(s = "Not Run"), "Not Run",
OR(s = "BLOCKED"), "Blocked",
TRUE, "IN PROGRESS"
)
)),
scenarioStatus
)
From there you could populate your summary table or distribute the results to display them along with the scenario records.