mole999
Well-known Member
- Joined
- Oct 23, 2004
- Messages
- 10,524
- Office Version
- 2019
- 2016
- 2013
- Platform
- Windows
I have what should be a simple problem. I want to hide a time value if it is greater than the returned value (more than 12:00)
E should be the end time, X is the start time, either of which when empty is hidden
For an unknown data entry reason, some E are returning more than 12 hours from =IF(X2="","",IF(E2="","",IF(E2>X2, E2-X2, 1-X2+E2)))
when E contains 15:00 (end) and X contains 18:30 (start) the sum is 3.5 hours too early and shows as 20:30. so I want to hide the result of E2>X2, E2-X2, 1-X2+E2 when it is more than 12 hours. checked and it ISNUMBER(TRUE)
what have I missed
E should be the end time, X is the start time, either of which when empty is hidden
For an unknown data entry reason, some E are returning more than 12 hours from =IF(X2="","",IF(E2="","",IF(E2>X2, E2-X2, 1-X2+E2)))
when E contains 15:00 (end) and X contains 18:30 (start) the sum is 3.5 hours too early and shows as 20:30. so I want to hide the result of E2>X2, E2-X2, 1-X2+E2 when it is more than 12 hours. checked and it ISNUMBER(TRUE)
what have I missed