
Anonymous Community User asked a question.
Calculate hours in related app based on category
Hello, I am trying to calculate hours based on the category of a related app. Why isn't this working? It's still pulling the total hours and not just the ones for Expensify. var cat = @All of Task Code;var time = @All of Hours Worked;var sum = 0;for(var i = 0; i < cat.length; i++){if(cat[i] = "Expensify"){sum += time[i];}};sum Any help would be great!