Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default concatenate problem

Hi all,

I do following entries in colum A to F:

A B C D E F
1 14 11 12 0 12 30
2 15 11 5 44 6 23


The entry in row 1 has got the following meaning:
on the 14.11. the machine was stopped from 12:00 to 12:30

The entry in row 2 has got the following meaning:
on the 15.11. the machine was stopped from 05:44 to 06:23

From these entries I would like to get following entries by
concatenating the single cells:


H I J
1 14-11-05 12:00 14-11-05 12:30 00:30
2 15-11-05 05:44 15-11-05 06:23 00:39


thereby the formats have to be dd-mm-yy hh:mm, in order to be able to
deduct I1-H1 and to get the time difference in J1

I have an idea how to solve it, but it seems so awkward that I don't
even try to explain it here. It would just take too long.

Does anybody has an easy way?

Thanks and regards,
Norbert

PS: the entries I do the way as described above because it is much
quicker that way then to have to put in the date and time in that
difficult format, with all the dashes and spaces and colons.






  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default concatenate problem

Hi Norbert,

Try:

Stop Date/time:

=DATEVALUE(A1&"/" &B1&"/05" &" " & C1&":"& D1)+
TIMEVALUE(A1&"/" &B1&"/05" &" " & C1&":"& D1)

Restart Date/time:

=DATEVALUE(A1&"/" &B1&"/05" &" " & C1&":"& D1)+
TIMEVALUE(A1&"/" &B1&"/05" &" " & E1&":"& F1)


---
Regards,
Norman



"Norbert Jaeger" wrote in message
...
Hi all,

I do following entries in colum A to F:

A B C D E F
1 14 11 12 0 12 30
2 15 11 5 44 6 23


The entry in row 1 has got the following meaning:
on the 14.11. the machine was stopped from 12:00 to 12:30

The entry in row 2 has got the following meaning:
on the 15.11. the machine was stopped from 05:44 to 06:23

From these entries I would like to get following entries by
concatenating the single cells:


H I J
1 14-11-05 12:00 14-11-05 12:30 00:30
2 15-11-05 05:44 15-11-05 06:23 00:39


thereby the formats have to be dd-mm-yy hh:mm, in order to be able to
deduct I1-H1 and to get the time difference in J1

I have an idea how to solve it, but it seems so awkward that I don't
even try to explain it here. It would just take too long.

Does anybody has an easy way?

Thanks and regards,
Norbert

PS: the entries I do the way as described above because it is much
quicker that way then to have to put in the date and time in that
difficult format, with all the dashes and spaces and colons.








  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 394
Default concatenate problem

Hi Norbert,

Just to Add to Normans Excellent Answer, Format the Two Formula Cells
as ...
Format, Cells, Custom, dd/mm/yyyy hh:mm
.... and the Difference in Time as ...
Format, Cells, Custom, hh:mm

Hope this Helps.
All the Best.
Paul

Norman Jones wrote:
Hi Norbert,

Try:

Stop Date/time:

=DATEVALUE(A1&"/" &B1&"/05" &" " & C1&":"& D1)+
TIMEVALUE(A1&"/" &B1&"/05" &" " & C1&":"& D1)

Restart Date/time:

=DATEVALUE(A1&"/" &B1&"/05" &" " & C1&":"& D1)+
TIMEVALUE(A1&"/" &B1&"/05" &" " & E1&":"& F1)


---
Regards,
Norman



"Norbert Jaeger" wrote in message
...
Hi all,

I do following entries in colum A to F:

A B C D E F
1 14 11 12 0 12 30
2 15 11 5 44 6 23


The entry in row 1 has got the following meaning:
on the 14.11. the machine was stopped from 12:00 to 12:30

The entry in row 2 has got the following meaning:
on the 15.11. the machine was stopped from 05:44 to 06:23

From these entries I would like to get following entries by
concatenating the single cells:


H I J
1 14-11-05 12:00 14-11-05 12:30 00:30
2 15-11-05 05:44 15-11-05 06:23 00:39


thereby the formats have to be dd-mm-yy hh:mm, in order to be able to
deduct I1-H1 and to get the time difference in J1

I have an idea how to solve it, but it seems so awkward that I don't
even try to explain it here. It would just take too long.

Does anybody has an easy way?

Thanks and regards,
Norbert

PS: the entries I do the way as described above because it is much
quicker that way then to have to put in the date and time in that
difficult format, with all the dashes and spaces and colons.







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd Concatenate problem. Paul Excel Worksheet Functions 9 December 13th 07 04:45 AM
CONCATENATE problem Mark Dullingham Excel Worksheet Functions 6 March 6th 07 12:11 AM
Concatenate Problem singh Excel Discussion (Misc queries) 3 February 9th 07 06:50 PM
Concatenate Problem John Calder New Users to Excel 3 November 13th 06 10:39 PM
Concatenate Problem aisos12 Excel Worksheet Functions 2 October 28th 06 03:57 AM


All times are GMT +1. The time now is 12:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"