I have an excel sheet with a column representing time in hours. I need to insert an if statement next to each cell to check the following:
- Values less than 24 hours
- Values more than 24 hours and less than 48 hours
- Values greater than 48 hours
I am able to successfully query for two cases; less than 24 hours and greater than 48 hours. However, my nested IF statement is unable to fetch for the condition where value is more than 24 hours and less than 48 hours. Please help
IF(Q14<=TIME(23,59,59)+TIME(0,0,1), "24", IF(AND(Q14>TIME(23,59,59)+TIME(0,0,1), Q14<TIME(47,59,59)+TIME(0,0,1)),"48", IF(Q14>TIME(48,59,59)+TIME(0,0,1), "96", "Poor ")))
Q14? is it aNumberorTime(likehh:mm:ss) ? what is the value entered inside this cell (before the conversion) ?