HoustonSteve
New Member
- Joined
- Jul 21, 2009
- Messages
- 5
I am using an if statement as the first field in a row. The statement evaluates whether the elapsed time in another cell (same row) is greater than 30 seconds. The if statement is =IF(H143>TIME(0,0,30),"Y","N"). The value in H143 is 0:00:30 and it has the formula =(G143-F143+(G143<F143)), where G143 is the finish time and F143 is the start time. The value returned in A143 is "Y" when it should be "N" because it is not greater than 30. The formula works correctly for the three rows immediately preceding 143 which also have elapsed time values of 0:00:30 and for the rows succeeding 143 that have values greater than 30. Please help. The formatting for all the times values is the same (h:mm:ss). The only thing I note is that the values for the times (provided as a dump from another database) are left justified and the values for the calculated fields are right justified. Does that indicate that Excel is seeing the original times as text instead of numbers?
