I'm trying to display which quarter throuout a shift an error was made. I can get Q1 and Q2 to work but for whatever reason Q3 and Q4 returns #Value! as the result.
Formula
=IF(AND([@Time]>=--"07:00:00",[@Time]<=--"09:15:00"),"Q1",IF(AND([@Time]>=--"09:15:00",[@Time]<=--"11:30:00"),"Q2",IF(AND([@Time]>=--"11:30:00",[@Time]<=--"14:45:00","Q3"),IF(AND([@Time]>=--"14:45:00",[@Time]<=--"17:30:00","Q4",),"Night"))))
Time is formatted with custom time h:mm:ss
Formula
=IF(AND([@Time]>=--"07:00:00",[@Time]<=--"09:15:00"),"Q1",IF(AND([@Time]>=--"09:15:00",[@Time]<=--"11:30:00"),"Q2",IF(AND([@Time]>=--"11:30:00",[@Time]<=--"14:45:00","Q3"),IF(AND([@Time]>=--"14:45:00",[@Time]<=--"17:30:00","Q4",),"Night"))))
Time is formatted with custom time h:mm:ss
Last edited: