Forum Discussion

nilesh_amrutkar's avatar
6 years ago

calculate value based on different row

 

I have table with first four columns and need the 5th column "Check" as calculated column. based on following conditions.

1. Check if the project number is same, then check if the item is same and check if for stage "A", date is not blank then value in column check is 1 or else 0.

 

Project No.ItemStageDateCheck
A123

Jar

P01/01/20201
A123JarF05/01/20201
A123JarA10/01/20201
A123telP01/01/20200
A123telF05/01/20200
A123telA 0
B123jetP01/01/20201
B123jetF05/01/20201
B123jetA10/01/20201
B123jarP01/01/20200
B123jarF05/01/20200
B123jarA 0

 

Thanks,

Nilesh

4 Replies