Columns A & B contain pairs of time values from the same day.
We want to create a formula that always subtracts the earlier time from the later one, regardless of which column each is in.
Solution 1:
Use the IF function as shown in the following formula:
=IF(B2>=A2,B2-A2,A2-B2)
Solution 2:
Use the ABS function as shown in the following formula:
=ABS(B2-A2)
Note: Apply hh:mm format to cells containing the formulas.
Doesn't work on me.....
markxus wrote on December 31, 1969 19:00 EST
Well I got a problem here guys!!! I am making a spread sheet that will calculate the number of minutes used by a customer... I only got three cell namely start time, endtime then total time used.. My problem is I can't get it right.... I've tried some of the formula given, but still there is something wrong with it... Maybe its because I'm a novice in spreadsheet...
any suggestion is highly appreciated thanks a lot
business days
Ghulam Sarwar wrote on December 31, 1969 19:00 EST
How I do calculate day if our org has 22 days in a month?
another formula
shawn wrote on December 31, 1969 19:00 EST
Terms
and Conditions of use
The applications/code on this site are distributed as is and without warranties
or liability. In no event shall the owner of the copyrights, or the authors
of the applications/code be liable for any loss of profit, any problems
or any damage resulting from the use or evaluation of the applications/code.