Apologies @ScottF,
For Late response,
Actually i am tryting to compare two rows in an excel sheet with the given conditions it means
Consider In a excel has 10 rows data,
below case example for just (1 condition)
where the task need to perform as ROW 1 need to compare with ROW 2 and check with respective columns like ROW 1 – ETID (SAME) of ROW 2 (ETID) then check ROW 1-- Cash Location (Same) of ROW 2(Cash location) like wise ROW 1— Currency(Same) of ROW 2 Currency and also ROW 1 — Amount (SAME) of ROW 2 AMount then ROW 1 Activity must be SETT and ROW 2 must be REIN at last ROW 1 and ROW 2 Must be either BUY or SELL
like that it need to check if it didn’t matched ROW 1 and ROW2 then the column Cleared?(Yes/No) it remains No, If it matches ROW 1 and ROW 2 then it need to change as Yes
in case ROW 1 didn’t matches ROW 2 then it need to go with ROW 1 & ROW 3 like that if again ROW 1 didn’t matches with ROW 3 it need to check with ROW 1 to ROW 4 -------- if some where ROW 1 matches with ROW 6 then ROW 1 and ROW 6 values of column Cleared(Yes/No) that both ROW 1 and ROW 6 should be Yes then after that it need to check from ROW 2 and ROW 3 same process if ROW 2 and ROW 3 matches then it need to compare with ROW 4 and ROW 5 like that , if ROW 4 and ROW 5 didn’t match then it need to check for ROW 4 and ROW 7 because already Row 6 got value as Yes, so it need to check with Row 4 and Row 7
Conditions:
1)Case A
a) Same ETID,Cash location,Currency,Amount
b)Activity: SETT and REIN
c)Transaction Sub type is same for all Activity(BUY/SELL)
2)Case B
a) Same ETID,Cash location,Currency,Amount
b)Activity: SETT and SETT with Is Contra Flag = Y
c)Transaction Sub type is same for all Activity(BUY/SELL)
3)Case C
a) Same ETID,Cash location,Currency,Amount
b)Activity: PART and REIN
c)Transaction Sub type is same for all Activity(BUY/SELL)
4)Case D
a) Same ETID,Cash location,Currency,Amount
b)Activity: PART and SETT with Is Contra Flag = Y
c)Transaction Sub type is same for all Activity(BUY/SELL)
5)Case E
a) Same ETID,Currency,Amount
b)Activity: ACTV and CXLD
c)Transaction Sub type is same for all Activity(BUY/SELL)
6)Case F
a) Same ETID,Currency,Amount
b)Activity: ACTV and CXCR
c)Transaction Sub type is same for all Activity(BUY/SELL)
7)Case G
a) Same ETID,Currency,Amount
b)Activity: MOD and CXLD
c)Transaction Sub type is same for all Activity(BUY/SELL)
8)Case H
a) Same ETID,Currency,Amount
b)Activity: MOD and CXCR
c)Transaction Sub type is same for all Activity(BUY/SELL)
9th condition:
CASE I)
a)Same Cash location, Currency, Amount
b)Different ETIDs — ETID must start with CT,CS only
c)Transaction SubType: BUY and SELL for this condition it must be one row contains BUY and another need to be as SELL
As per above instructions i tried with the flow but it is not work as like that
Set value on lagged row multi-column-conditions with adjacent rows.knwf (41.9 KB)
the above work flow where
ROW 0 and ROW 3 are matching with given condition of 1 is following but Cleared coloumn it need to be as Yes , i mean ROW 0: Yes
ROW 3: Yes
for your reference i am adding one more excel sheet.
TRACKER_AE.xlsx (10.6 KB)
Please help me on this