Excel - Copy the displayed value not the actual value

后端 未结 3 889
Happy的楠姐
Happy的楠姐 2021-01-18 01:33

I am a pilot, and use a logbook program called Logten Pro. I have the ability to take excel spreadsheets saved from my work flight management software, and import them into

3条回答
  •  感动是毒
    2021-01-18 02:09

    There are three options using formulas.

    Rounddown

    Excel stores the date time as a number and uses formatting to display it as a date. The format is date.time, where the integer is the date and the fraction is the time.

    As an example 01/01/2012 10:30:00 PM is stored as 40909.9375

    All the values after the decimal place relate to the hours and minutes

    So a formula could be used to round the number down to a whole number.

    =ROUNDDOWN(A1,0)
    

    Then format the value as a short date. It will then display as 01/01/2012

    INT

    As above, but using a different formula to get rid of the fraction (time)

    =INT(A1)
    

    Text

    Alternately the date only could be extracted as text using this formula

    =TEXT(A1,"dd/mm/yyyy")
    

    It will then display as 01/01/2012

提交回复
热议问题