Finding the time value closest to zero (with 1904 date system)

Joe94

New Member
Joined
Nov 19, 2010
Messages
20
I am trying to find a formula that, for each row, will display the value of the cell which is closest to 0. In order to use negative time values I have had to use the 1904 date system which I believe is disrupting the results when Excel calculates the minimum value. I have currently tried something like =MIN(ABS(A1),ABS(A2)) but this is not working. Does anyone have any suggestions as to how I can go about fixing this?

AB
00:00:50.79900:00:50.305
00:00:00.24200:00:00.000
-00:00:00.860-00:00:00.473
-00:00:01.034-00:00:00.188
-00:00:01.266-00:00:00.422
-00:00:00.59800:00:00.409

<colgroup><col><col><col></colgroup><tbody>
</tbody>

Thanks
 
Marcelo, try entering negative times as, for example

=-"00:00:00,473"

Probably i'm doing something silly...
I got

A
B
C
1
2
00:00:50,799​
00:00:50,305​
00:00:50,305​
3
00:00:00,242​
00:00:00,000​
00:00:00,000​
4
-9,9537E-06​
-5,47454E-06​
###############​
5
-1,19676E-05​
-2,17593E-06​
###############​
6
-1,46528E-05​
-4,88426E-06​
###############​

:confused:

M.
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,216,030
Messages
6,128,408
Members
449,448
Latest member
Andrew Slatter

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top