+ Reply to Thread
Results 1 to 11 of 11

time format

  1. #1
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chennai,india
    MS-Off Ver
    Excel 2007
    Posts
    105

    time format

    Hi

    I need all the time format given in column A to be in the format as in column B.Please help.


    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: time format

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chennai,india
    MS-Off Ver
    Excel 2007
    Posts
    105

    Re: time format

    Quote Originally Posted by Olly View Post
    Try:
    Please Login or Register  to view this content.
    am new to macros..i just inserted this code in module..but not working..kindly help

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,994

    Re: time format

    Maybe:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chennai,india
    MS-Off Ver
    Excel 2007
    Posts
    105

    Re: time format

    Quote Originally Posted by TMS View Post
    Maybe:

    Please Login or Register  to view this content.

    Regards, TMS
    Nope..its not working

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,994

    Re: time format

    Both functions work as expected with your sample data.

    See the updated sample workbook with both functions.

    Nope..its not working
    is not a very helpful comment.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chennai,india
    MS-Off Ver
    Excel 2007
    Posts
    105

    Re: time format

    Quote Originally Posted by TMS View Post
    Both functions work as expected with your sample data.

    See the updated sample workbook with both functions.

    is not a very helpful comment.
    Thank you so much TMS..am new to this code functions..hence struggled in running it..thanks a lot both of u

  8. #8
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: time format

    Quote Originally Posted by Latha Mani View Post
    am new to macros..i just inserted this code in module..but not working..kindly help
    You can use it directly in the worksheet - so in cell B2, enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down to B351.



    Or you can write a little code to set the values:
    Please Login or Register  to view this content.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,994

    Re: time format

    You're welcome. Thanks for the rep.

    For future reference, please do not quote whole posts. It is unnecessary and just clutters the thread.

    Regards, TMS

  10. #10
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chennai,india
    MS-Off Ver
    Excel 2007
    Posts
    105

    Re: time format

    Hmm..sure TMS Thank u for ur words..

  11. #11
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chennai,india
    MS-Off Ver
    Excel 2007
    Posts
    105

    Re: time format

    Thanks olly..

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Change format of lots of data cell to a time format
    By dazza67 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-24-2013, 03:24 PM
  2. Convert date and time in serial number format to text format
    By nda13112 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2013, 02:45 PM
  3. Excel: How to convert time format into number format that can be added?
    By Frances Jones in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-17-2012, 04:10 PM
  4. Replies: 4
    Last Post: 07-14-2010, 03:17 PM
  5. Display time in time format instead of decimal format
    By CasualVisitor in forum Excel General
    Replies: 5
    Last Post: 07-03-2009, 06:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1