Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Complex programming task

We use a hard copy hundredths to minutes chart which shows the minutes
equivalent of a decimal number example: if a number returned is 1.83 the
minutes equivalent of .83 would be :50. I need to be able to do this in XL
for all hundredths from .02 to 1.00. Then I need to be able to have this work
so that when a cell returns a value when using this formula =(B1-A1)*24, if
A1=5:20 and B1=9:25 then the value in cell C1 would be 4.08 using the
hundredths to minutes chart .08=05 or 5 minutes so we now would have 4:05
four hours five minutes. Is there a way to have the hundredths to minutes
chart in an XL worksheet and then have another worksheet lookup the value
equivalent of a cell that has the 0.00 format and return the h:mm format?
I hope this is clear because I am confusing my own self.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Complex programming task

If the result of your subtraction is in C1:

=TIME(HOUR(C1),MINUTE(C1)/0.6,0)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"dvonj" wrote in message
...
We use a hard copy hundredths to minutes chart which shows the minutes
equivalent of a decimal number example: if a number returned is 1.83 the
minutes equivalent of .83 would be :50. I need to be able to do this in XL
for all hundredths from .02 to 1.00. Then I need to be able to have this
work
so that when a cell returns a value when using this formula =(B1-A1)*24,
if
A1=5:20 and B1=9:25 then the value in cell C1 would be 4.08 using the
hundredths to minutes chart .08=05 or 5 minutes so we now would have 4:05
four hours five minutes. Is there a way to have the hundredths to minutes
chart in an XL worksheet and then have another worksheet lookup the value
equivalent of a cell that has the 0.00 format and return the h:mm format?
I hope this is clear because I am confusing my own self.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Complex programming task

Does this help

=TIME(INT(C1),ROUND(MOD(C1,1)*60,0),0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"dvonj" wrote in message
...
We use a hard copy hundredths to minutes chart which shows the minutes
equivalent of a decimal number example: if a number returned is 1.83 the
minutes equivalent of .83 would be :50. I need to be able to do this in XL
for all hundredths from .02 to 1.00. Then I need to be able to have this

work
so that when a cell returns a value when using this formula =(B1-A1)*24,

if
A1=5:20 and B1=9:25 then the value in cell C1 would be 4.08 using the
hundredths to minutes chart .08=05 or 5 minutes so we now would have 4:05
four hours five minutes. Is there a way to have the hundredths to minutes
chart in an XL worksheet and then have another worksheet lookup the value
equivalent of a cell that has the 0.00 format and return the h:mm format?
I hope this is clear because I am confusing my own self.



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a complex task that I think could be easy with a macro RHein Excel Discussion (Misc queries) 0 January 3rd 08 08:39 PM
a complex task TUNGANA KURMA RAJU Excel Discussion (Misc queries) 0 January 8th 06 07:07 AM
excel 2003 Task Pane programming Cesar Zapata[_2_] Excel Programming 0 September 13th 04 03:12 PM
Small programming task in Excel VBA Michael Bednarek Excel Programming 4 July 13th 03 01:04 AM
Small programming task in Excel VBA Bob Phillips[_5_] Excel Programming 3 July 12th 03 07:40 PM


All times are GMT +1. The time now is 10:29 AM.

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

About Us

"It's about Microsoft Excel"