[mso] Re: Excel 2003

  • From: Clem Ras <sarmelc@xxxxxxxxx>
  • To: mso@xxxxxxxxxxxxx
  • Date: Sun, 28 Nov 2004 06:50:19 -0800 (PST)

Andrew,
I believe the custom format

[h]:mm (Note the brackets around the h)

will yield the format that you're looking for.

Clem

--- Ray Blake <ray@xxxxxxxxx> wrote:

> Andrew,
> 
> I'm not aware of an easy way to do this, but here's
> a hard way that
> works!
> 
> 1. Future date and time in A1
> 2. =NOW() in B1
> 3. =A1-B1 in B2
> 
> Cell containing hours reads: =ROUNDDOWN(B2*24,0)
> Cell containing minutes reads:
> =ROUNDDOWN(MOD(B2*24*60,60),0)
> 
> Fun, fun, fun.
> 
> Ray
> 
> ------------------------------------
> GR Business Process Solutions
> Ray Blake
> Head of Software Design
> ray@xxxxxxxxx
> Braedon
> Newell Road
> Hemel Hempstead
> Herts HP3 9PD
> tel: 01442 396518
> fax: 01442 389353
> mobile: 07834 226601
> ------------------------------------
> 
> 
> -----Original Message-----
> From: mso-bounce@xxxxxxxxxxxxx
> [mailto:mso-bounce@xxxxxxxxxxxxx] On
> Behalf Of Andrew
> Sent: 27 November 2004 11:49
> To: Mso@Freelists. Org
> Subject: [mso] Excel 2003
> 
> 
> I am subtracting the result of NOW() from a future
> Date+Time and I would
> like to show the result in hours and minutes.  The
> Time format does not
> answer, because it returns a 24hr clock format.  Do
> I need a complex
> formula (multiply by 24 and take the integer part
> for the hours,
> multiply the decimal part by 60 for minutes and use
> TEXT() to format as
> hhh:mm) to do this or is there a custom format which
> I have missed?
> 
> Andrew Kendon
> (IT Trainer)
> ----------------------------------
> Skills Training UK Ltd
> Cherry Hinton Hall Learning Centre
> Cherry Hinton Road
> CAMBRIDGE CB1 8DW
> ----------------------------------
> Tel.: 01223 458257
> Mobile: 07815 301113
> ----------------------------------
> 
>
*************************************************************
> You are receiving this mail because you subscribed
> to mso@xxxxxxxxxxxxx or
> MicrosoftOffice@xxxxxxxxxxxxxxxx
> 
> To send mail to the group, simply address it to
> mso@xxxxxxxxxxxxx
> 
> To Unsubscribe from this group, send an email to 
> mso-request@xxxxxxxxxxxxx with the word
> "unsubscribe" (without the quotes) in the subject
> line.
> 
> Or, visit the group's homepage and use the dropdown
> menu.  This will also allow you to change your email
> settings to digest or vacation (no mail).
> //www.freelists.org/webpage/mso
> 
> To be able to use the files section for sharing
> files with the group, send a request to
> mso-moderators@xxxxxxxxxxxxx and you will be sent an
> invitation with instructions.  Once you are a member
> of the files group, you can go here to
> upload/download files:
> http://www.smartgroups.com/vault/msofiles
>
*************************************************************
> 



                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: