+ Reply to Thread
Results 1 to 5 of 5

Get Data - Custom format issue

  1. #1
    Registered User
    Join Date
    10-10-2024
    Location
    London
    MS-Off Ver
    2011
    Posts
    1

    Get Data - Custom format issue

    Hi all,

    I am using the get data from web function and then editing the queries.

    I am pulling data from a workbook I can not edit. One of the columns data is a custom format [hh]:mm, unable to change this at source. Once the query pulls the data is changes the value.
    Example:
    Source cell 1184:00 (formatted as custom [hh]:mm) on the queries editor it shows as 49.333333 and format I chose doesn't revert it back to display 1184:00.

    Is there a way of setting custom format like in excel?

  2. #2
    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,290

    Re: Get Data - Custom format issue

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    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


  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,876

    Re: Get Data - Custom format issue

    Welcome to the Forum May90!

    format I chose doesn't revert it back
    What is the format you chose?

    Please attach the file and tell us which cells to look at. See yellow banner at the top of the page.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,505

    Re: Get Data - Custom format issue

    49.333 is in days. You have to multiply with 24

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,876

    Re: Get Data - Custom format issue

    Excel dates are just in units of days. You can multiply by 24 to get the number of hours, or just format as [hh]:mm if all you care about is how it's displayed.

+ 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. Cell Custom Format Issue to start with user input character
    By michaelibrahim in forum Excel General
    Replies: 3
    Last Post: 03-01-2023, 06:32 PM
  2. Data Validation for custom time format
    By PaulGSmith7 in forum Excel General
    Replies: 1
    Last Post: 10-06-2016, 10:33 PM
  3. Custom Format Issue with Numbers
    By pdias2 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-20-2014, 01:57 PM
  4. [SOLVED] Issue: Custom Number Format to Display (thousands or dashes)
    By Crawfinator1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-25-2013, 03:28 AM
  5. Custom Format Issue
    By RussellNonBrand in forum Excel General
    Replies: 3
    Last Post: 06-16-2011, 01:07 PM
  6. Replies: 0
    Last Post: 05-17-2010, 09:19 AM
  7. Custom Format and Data Validation Q
    By John in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-06-2005, 02:06 PM

Tags for this Thread

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