+ Reply to Thread
Results 1 to 7 of 7

why number stored as [h].mm.ss

  1. #1
    Registered User
    Join Date
    11-03-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2007
    Posts
    63

    why number stored as [h].mm.ss

    Dear all,

    Please help, i have a data from system it shown like date and time. I can't lookup the data.

    I attached as sample, thanks.

    Regards
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: why number stored as [h].mm.ss

    Try this ...

    =TEXT(D4,"[h].mm.ss")

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,862

    Re: why number stored as [h].mm.ss

    change your custom formatting as shown belowCapture.JPG
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    11-03-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: why number stored as [h].mm.ss

    Quote Originally Posted by Phuocam View Post
    Try this ...

    =TEXT(D4,"[h].mm.ss")
    Thank you,
    I tried and its work, but when i copy paste value, i click the cell it chance to [h].mm.ss again.

  5. #5
    Registered User
    Join Date
    11-03-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: why number stored as [h].mm.ss

    [QUOTE=alansidman;4786264]change your custom formatting as shown below[QUOTE]

    Thank you, but the format is already like your attachment and its not chance anything

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,862

    Re: why number stored as [h].mm.ss

    Thank you, but the format is already like your attachment and its not chance anything
    strange as it changed for me.

    Data Range
    D
    3
    KODE
    4
    6001.01.00
    5
    6100.01.01
    6
    6700.01.00
    7
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-03-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: why number stored as [h].mm.ss

    [QUOTE=alansidman;4786269]strange as it changed for me.


    Or maybe because i using regional setting in my country (Indonesia) like (.) become (,)
    By the way, how i add apostrophe (') in the front of numbers, so the result become like "'6001.01.00" is it any formula?

+ 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. [SOLVED] VBA convert number stored as text to number
    By Littlesimon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2017, 09:54 PM
  2. [SOLVED] Number Stored as Text
    By esaban in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-29-2014, 03:29 PM
  3. [SOLVED] Number stored as text
    By jagon in forum Excel General
    Replies: 8
    Last Post: 05-06-2014, 08:58 AM
  4. [SOLVED] Set a Value as Number (Number Stored as Text warning comes up)
    By OberonViking in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2013, 01:41 AM
  5. Replies: 1
    Last Post: 10-28-2012, 05:42 AM
  6. Number stored as text. How do I keep the number format?
    By staying in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2006, 11:57 PM
  7. [SOLVED] Number stored as text
    By sueanne in forum Excel General
    Replies: 1
    Last Post: 03-02-2005, 11:16 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