How can I format date_space_hour to a time format

hokisajam

I get this text data in an excel worksheet

16/10/2018 00:11:53
16/10/2018 00:41:52
16/10/2018 04:21:19
16/10/2018 04:30:37

it is "day/month/year space hour:minute:second"

I tried formatting as date or time but nothing happens (it shoud be converted to a floating point number representing date and time)

I need to extract the day and the hour (h:m:s) with excel functions

I cannot use the "convert text to columns" excel feature to separate the date and hour at the space, because it would create/overwrite neighbor colums, and I cannot move/overwrite the data columns (I'm not the only user of the worksheet)

hokisajam

I found a way:

copy 1 from any cell

multiply all values by 1 (copy 1 from any cell, paste special, choose "values" and "multiply") The dates will be turned into a floating number

Paste special

Then format the data as "personalized format",

d/m/yyyy hh:mm:ss

then extract the hour with

=TIME(HOUR(A1),MINUTE(A1), SECOND(A1)) 

In spanish version:

=NSHORA(HORA(A1);MINUTO(A1);SEGUNDO(A1))

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How can I convert date time format string used by C# to the format used by moment.js?

分類Dev

How do I get the current date and time in the format given Below

分類Dev

How can I convert a date into another format with moment.js?

分類Dev

How can i format the date with Momentjs to look like this?

分類Dev

How can I format an NSDecimalNumber into a Swift string?

分類Dev

How can I get summary in scientific format

分類Dev

How can i make python take a data time in format hh:mm:ss and store it in an array?

分類Dev

How to change Date/Time format to English?

分類Dev

How to get current date time format in SQlite?

分類Dev

R : how to define date and time format

分類Dev

How to change date-time format?

分類Dev

Can NSDateFormatter format a date relative to a time other than the current time?

分類Dev

What is this date and time format?

分類Dev

How can I format minutes into hour and minutes but only show hour if it's > 60 minutes?

分類Dev

How to change time format to another format?

分類Dev

How i format this @pipe currency with space in angular?

分類Dev

Convert GMT date format to only time format

分類Dev

How do I convert API supplied date/time string into readable format?

分類Dev

how to convert python time.time() to date format for sql insertion

分類Dev

How to format the given time string and convert to date/time object

分類Dev

how do i convert format of current time in python

分類Dev

How can I format a linux liveusb so that grub can read it?

分類Dev

How can I calculate and format a date duration using GNU tools, not a result date?

分類Dev

ReactJS - How can I change date format from MongoDB Date.now

分類Dev

How can I convert YYWW to date format based on day[Ex: Monday's date in given YYWW ] in SqlServer?

分類Dev

convert 12 hour format to 24 hour format time in golang

分類Dev

How can I get a date into this format, 2013-08-09T19:08:28Z?

分類Dev

Parse Date and Time in specific format

分類Dev

Can I convert a date in the format YYYYMMDDHHMM using date?

Related 関連記事

  1. 1

    How can I convert date time format string used by C# to the format used by moment.js?

  2. 2

    How do I get the current date and time in the format given Below

  3. 3

    How can I convert a date into another format with moment.js?

  4. 4

    How can i format the date with Momentjs to look like this?

  5. 5

    How can I format an NSDecimalNumber into a Swift string?

  6. 6

    How can I get summary in scientific format

  7. 7

    How can i make python take a data time in format hh:mm:ss and store it in an array?

  8. 8

    How to change Date/Time format to English?

  9. 9

    How to get current date time format in SQlite?

  10. 10

    R : how to define date and time format

  11. 11

    How to change date-time format?

  12. 12

    Can NSDateFormatter format a date relative to a time other than the current time?

  13. 13

    What is this date and time format?

  14. 14

    How can I format minutes into hour and minutes but only show hour if it's > 60 minutes?

  15. 15

    How to change time format to another format?

  16. 16

    How i format this @pipe currency with space in angular?

  17. 17

    Convert GMT date format to only time format

  18. 18

    How do I convert API supplied date/time string into readable format?

  19. 19

    how to convert python time.time() to date format for sql insertion

  20. 20

    How to format the given time string and convert to date/time object

  21. 21

    how do i convert format of current time in python

  22. 22

    How can I format a linux liveusb so that grub can read it?

  23. 23

    How can I calculate and format a date duration using GNU tools, not a result date?

  24. 24

    ReactJS - How can I change date format from MongoDB Date.now

  25. 25

    How can I convert YYWW to date format based on day[Ex: Monday's date in given YYWW ] in SqlServer?

  26. 26

    convert 12 hour format to 24 hour format time in golang

  27. 27

    How can I get a date into this format, 2013-08-09T19:08:28Z?

  28. 28

    Parse Date and Time in specific format

  29. 29

    Can I convert a date in the format YYYYMMDDHHMM using date?

ホットタグ

アーカイブ