SandsB
Well-known Member
- Joined
- Feb 13, 2007
- Messages
- 705
- Office Version
- 365
- Platform
- Windows
Columns A and B show times. B-A could be positive or negative so I do this to get the difference: =IF(B2>A2,(B2-A2),(A2-B2)) This always gives me the difference in minutes because it always subtracts the larger number from the smaller one. You get ######### if you subtract a larger time from a smaller one. What I need though is to show the negative number if A is greater then B. How can I get the A2-B2 part of this formula to show -HH:MM:SS?