So I am trying to calculate a value from one column or another based based on which one has data available into a new column. This is the code I have right now. It doesn\'t