This is a continuation to my older question Creating new columns based on conditions of the existing columns I have a similar case as before, but now I have an additional co