PC Review


Reply
Thread Tools Rate Thread

converting to time format

 
 
Madiya
Guest
Posts: n/a
 
      5th Aug 2010
I have in cell B2 10.50 which excel shows as 10.5 in "general format"
I need to have the same in time format which hh:mm
Pl help me with formula.
I tried left and right functions but not getting anywhere.

I also need to get the time differance in hh:mm format.
Pl advise me.

Regards,
 
Reply With Quote
 
 
 
 
alanglloyd@aol.com
Guest
Posts: n/a
 
      5th Aug 2010
On Aug 5, 7:29*am, Madiya <madiya...@yahoo.co.uk> wrote:
> I have in cell B2 10.50 which excel shows as 10.5 in "general format"
> I need to have the same in time format which hh:mm
> Pl help me with formula.
> I tried left and right functions but not getting anywhere.
>
> I also need to get the time differance in hh:mm format.
> Pl advise me.


Right-Click on cell, choose Format Cells | Number | Custom. Choose
hh:mm & OK

Open Excel Help

Choose Contents > Formatting Worksheets > Formatting Numbers Dates and
Times > Custom Number Date & Time Format Codes > Format Date & Times.

Read, digest & understand.

Alan Lloyd

 
Reply With Quote
 
CellShocked
Guest
Posts: n/a
 
      5th Aug 2010
On Thu, 5 Aug 2010 00:37:55 -0700 (PDT), "(E-Mail Removed)"
<(E-Mail Removed)> wrote:

>On Aug 5, 7:29*am, Madiya <madiya...@yahoo.co.uk> wrote:
>> I have in cell B2 10.50 which excel shows as 10.5 in "general format"
>> I need to have the same in time format which hh:mm
>> Pl help me with formula.
>> I tried left and right functions but not getting anywhere.
>>
>> I also need to get the time differance in hh:mm format.
>> Pl advise me.

>
>Right-Click on cell, choose Format Cells | Number | Custom. Choose
>hh:mm & OK
>
>Open Excel Help
>
>Choose Contents > Formatting Worksheets > Formatting Numbers Dates and
>Times > Custom Number Date & Time Format Codes > Format Date & Times.
>
>Read, digest & understand.
>
>Alan Lloyd



10.5 then becomes what 10 and one half hours or 10 hours, 50 minutes?

The person needs to combine the values correctly, so we need more
information as to what the numbering refers to

10.5 hours or 10 hours 50 minutes, THEN we can perform work in another
cell to get the desired result.

Read, digest, and understand?

Dude, you lost something way back before you started using that stupid
sign off. First off, it is clearly a veiled insult. Good job, idiot.
 
Reply With Quote
 
Madiya
Guest
Posts: n/a
 
      6th Aug 2010
On Aug 5, 6:34*pm, CellShocked
<cellshoc...@thecellvalueattheendofthespreadsheet.org> wrote:
> On Thu, 5 Aug 2010 00:37:55 -0700 (PDT), "alangll...@aol.com"
>
>
>
>
>
> <alangll...@aol.com> wrote:
> >On Aug 5, 7:29*am, Madiya <madiya...@yahoo.co.uk> wrote:
> >> I have in cell B2 10.50 which excel shows as 10.5 in "general format"
> >> I need to have the same in time format which hh:mm
> >> Pl help me with formula.
> >> I tried left and right functions but not getting anywhere.

>
> >> I also need to get the time differance in hh:mm format.
> >> Pl advise me.

>
> >Right-Click on cell, choose Format Cells | Number | Custom. Choose
> >hh:mm & OK

>
> >Open Excel Help

>
> >Choose Contents > Formatting Worksheets > Formatting Numbers Dates and
> >Times > Custom Number Date & Time Format Codes > Format Date & Times.

>
> >Read, digest & understand.

>
> >Alan Lloyd

>
> * 10.5 then becomes what 10 and one half hours or 10 hours, 50 minutes?
>
> * The person needs to combine the values correctly, so we need more
> information as to what the numbering refers to
>
> *10.5 hours or 10 hours 50 minutes, THEN we can perform work in another
> cell to get the desired result.
>
> * Read, digest, and understand?
>
> * Dude, you lost something way back before you started using that stupid
> sign off. *First off, it is clearly a veiled insult. *Good job, idiot..- Hide quoted text -
>
> - Show quoted text -


Thank you CellShocked for your reply.

10.5 is 10 hours 50 minutes
13.2 is 13hrs 20 mins.

Hope this can be acheived by a formula.

Regards.
Madiya
 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      6th Aug 2010
Try this in C2:

=--(INT(B2)&":"&INT(MOD(B2,1)*100)&":00))

Format the cell as a date in an appropriate style (eg [hh]:mm).

In your first post you asked about time difference - which two cells
would contain the times?

Hope this helps.

Pete

On Aug 6, 11:04*am, Madiya <madiya...@yahoo.co.uk> wrote:
>
> Thank you CellShocked for your reply.
>
> 10.5 is 10 hours 50 minutes
> 13.2 is 13hrs 20 mins.
>
> Hope this can be acheived by a formula.
>
> Regards.
> Madiya

 
Reply With Quote
 
Madiya
Guest
Posts: n/a
 
      13th Aug 2010
On Aug 6, 6:28*pm, Pete_UK <pashu...@auditel.net> wrote:
> Try this in C2:
>
> =--(INT(B2)&":"&INT(MOD(B2,1)*100)&":00))
>
> Format the cell as a date in an appropriate style (eg [hh]:mm).
>
> In your first post you asked about time difference - which two cells
> would contain the times?
>
> Hope this helps.
>
> Pete
>
> On Aug 6, 11:04*am, Madiya <madiya...@yahoo.co.uk> wrote:
>
>
>
>
>
> > Thank you CellShocked for your reply.

>
> > 10.5 is 10 hours 50 minutes
> > 13.2 is 13hrs 20 mins.

>
> > Hope this can be acheived by a formula.

>
> > Regards.
> > Madiya- Hide quoted text -

>
> - Show quoted text -


Thanks for the help.
I am getting error in the formula and excel dont allow me to the enter
the same.

>>> time difference - which two cells would contain the times?

Both the cells will have same formula you have provided me (some
correction reqd)
1st cell is c2 2nd cell will be g2

Regards,
Madiya.
 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      13th Aug 2010
Sorry, I can see that I missed a " from the end of that formula and
had a ) instead. Replace it with this:

=--(INT(B2)&":"&INT(MOD(B2,1)*100)&":00")

Once you have the formula working for the two times, you can just
subtract them.

Hope this helps.

Pete

On Aug 13, 8:13*am, Madiya <madiya...@yahoo.co.uk> wrote:
> On Aug 6, 6:28*pm, Pete_UK <pashu...@auditel.net> wrote:
>
>
>
>
>
> > Try this in C2:

>
> > =--(INT(B2)&":"&INT(MOD(B2,1)*100)&":00))

>
> > Format the cell as a date in an appropriate style (eg [hh]:mm).

>
> > In your first post you asked about time difference - which two cells
> > would contain the times?

>
> > Hope this helps.

>
> > Pete

>
> > On Aug 6, 11:04*am, Madiya <madiya...@yahoo.co.uk> wrote:

>
> > > Thank you CellShocked for your reply.

>
> > > 10.5 is 10 hours 50 minutes
> > > 13.2 is 13hrs 20 mins.

>
> > > Hope this can be acheived by a formula.

>
> > > Regards.
> > > Madiya- Hide quoted text -

>
> > - Show quoted text -

>
> Thanks for the help.
> I am getting error in the formula and excel dont allow me to the enter
> the same.
>
> >>> time difference - which two cells would contain the times?

>
> Both the cells will have same formula you have provided me (some
> correction reqd)
> 1st cell is c2 2nd cell will be g2
>
> Regards,
> Madiya.- Hide quoted text -
>
> - Show quoted text -


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting a time format to a String format in Excel =?Utf-8?B?QmlsbCBQYXJ0cmlkZ2U=?= Microsoft Excel Misc 3 3rd Oct 2007 11:48 AM
Converting Seconds into Time Format =?Utf-8?B?UmFtb24=?= Microsoft Access Queries 3 11th Jul 2007 07:44 PM
Converting to Time Format =?Utf-8?B?QW1iZXI=?= Microsoft Excel Misc 1 7th Jul 2005 10:56 PM
Converting Date Time format to Month YEar format Prashant Sisodia Microsoft Excel Worksheet Functions 1 11th Jun 2004 03:56 PM
Converting a text time into a time format. =?Utf-8?B?Q2hpdmFz?= Microsoft Excel Misc 1 5th Mar 2004 10:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:44 AM.