+ Reply to Thread
Results 1 to 2 of 2

Format Cell Same As Copy From PDF

Hybrid View

  1. #1
    Registered User
    Join Date
    08-16-2009
    Location
    my
    MS-Off Ver
    Excel 2010
    Posts
    16

    Format Cell Same As Copy From PDF

    Hello people,

    I copying some figure from PDF file to excel sheet. In PDF the number in minutes format e.g 27:29
    but when in excel is shown as 27:29:00 and cell format show as 1/1/1900 3:29:00 AM. How do I make excel cell same format as copied from pdf?

    Thanks.

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Format Cell Same As Copy From PDF

    I know what is happening, but I don't know how to stop it!

    Excel sees the colon : an assumes it is time! The first numbers being hours.

    You can fix it through a calculation in a new column. Just divide by 60, and format the cell as "MM:SS"

    OR you can use this formula =TIMEVALUE("00:" & TEXT(A1,"[hh]:mm")) but not much is gained by this since the other is much simpler, and easy to understand.

    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


+ 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. Copy cell value with format
    By Thonkhan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2014, 11:50 AM
  2. [SOLVED] Macro to copy cell width to new sheets (ie copy original sheet format)
    By teenyjem in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2013, 07:28 AM
  3. Copy/move cell format & comment in cell reference
    By mkseto in forum Excel General
    Replies: 3
    Last Post: 02-02-2009, 03:00 AM
  4. Lock Cell Format - Allow copy and paste of data without format change
    By Chris12InKC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2006, 12:50 AM
  5. [SOLVED] How to copy the format of a cell to another by using VBA?
    By Á÷À˵ÄË& in forum Excel General
    Replies: 1
    Last Post: 08-11-2005, 12:30 AM
  6. Replies: 1
    Last Post: 06-27-2005, 06:05 AM
  7. [SOLVED] Copy cell format to cell on another worksht and update automatical
    By kevinm in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 05-19-2005, 07:06 AM
  8. [SOLVED] Copy partial cell character format(s) from one cell to another - an example
    By aztecbrainsurgeon@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-05-2005, 04:06 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