• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Converting dd/mm/yyyy hr:min:sec in a column to fractional hour

Ramesha

Member
Hi friends:

Looking for VBA support for calculating the time interval between two set(in two cells) of dd/mm/yyyy hr:min:sec in a column and convert the difference into fractional hours, right now I'm using four column shown below

upload_2015-7-26_10-46-5.png


Thanks in advance
 

Attachments

  • upload_2015-7-26_10-44-27.png
    upload_2015-7-26_10-44-27.png
    4.4 KB · Views: 0
Hi ,

I can only repeat what Hui has put up as a banner :

Upload a sample file with enough data , in all its variations.

Narayan
 
Hi ,

I am still not able to understand what you want , especially when you say you are using 4 columns. Column B contains the same data as column A.

Assuming that column A is your only column of data , then a formula such as the following should be enough :

=IF(ISNUMBER(A1),A2 - A1,0)*24

Enter this in B2 , and copy down.

Narayan
 
Back
Top