#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default formula

I need a formula. When entering numbers using a decimal point. The original
number must read as a decimal and not hrs:mn
For instance, 9.15 = 9hrs and 15 minutes I need the formula result to be
9.25 (the .25 is actually 25/100th of an hour)

9.05 should equal 9.08
9.30 should equal 9.50
9.45 should equal 9.75

--
bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default formula

=ROUND(INT(A1)+MOD(A1,1)*1.666666,2)

"vdmbqb" wrote:

I need a formula. When entering numbers using a decimal point. The original
number must read as a decimal and not hrs:mn
For instance, 9.15 = 9hrs and 15 minutes I need the formula result to be
9.25 (the .25 is actually 25/100th of an hour)

9.05 should equal 9.08
9.30 should equal 9.50
9.45 should equal 9.75

--
bob

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default formula

This will work too:

=ROUNDDOWN(A1,0)+ROUND(RIGHT(A1,2)/60,2)

"vdmbqb" wrote:

I need a formula. When entering numbers using a decimal point. The original
number must read as a decimal and not hrs:mn
For instance, 9.15 = 9hrs and 15 minutes I need the formula result to be
9.25 (the .25 is actually 25/100th of an hour)

9.05 should equal 9.08
9.30 should equal 9.50
9.45 should equal 9.75

--
bob

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default formula

try 9.30 ....

"BriSwy" wrote:

This will work too:

=ROUNDDOWN(A1,0)+ROUND(RIGHT(A1,2)/60,2)

"vdmbqb" wrote:

I need a formula. When entering numbers using a decimal point. The original
number must read as a decimal and not hrs:mn
For instance, 9.15 = 9hrs and 15 minutes I need the formula result to be
9.25 (the .25 is actually 25/100th of an hour)

9.05 should equal 9.08
9.30 should equal 9.50
9.45 should equal 9.75

--
bob

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"