formula or macro to make times more exact

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi everyone,
we are working with data that is caculated to a very exact time
as you know, excel records time as a number
my problem is the times are not exactly as they apear and i need to be able to relyably find these times

what i mean is just one example but my down loaded data has both
0.291666666666901
and
0.291666666666667
and when formated as time they both show up as "07:00:00" and I want them both to be the same time.
i'm happy to run a macro or add a new column with a formula in it that sorts this out but how can i standardis this data so all times that show up as the same time have the same number in the background
the coulmn i'm working on is Column A

please help if you can as i've no idea how i can move forward otherwise


thanks

Tony
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi,
You could test =ROUND(A2,5) to get 0.29167 in both cases ...
 
Upvote 0
and then format the cell to show milliseconds: =TEXT(ROUND(A2,5),"HH:MM:SS.000")
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

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