Hi,
what I'm trying to do Is first to check row data, if it = "active" move to a new column and search the for same values as original row at others rows if you find it move to additional IF and check more data ( I will stop now in order not to make it more complicated)