ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formatting Date Field (https://www.excelbanter.com/excel-discussion-misc-queries/188635-formatting-date-field.html)

whatzzup

Formatting Date Field
 
Good day, i have a problem where i have imported some data with dates and
time, the problem is i need to modify the time part of the date to a specific
time like 18:00:00. The dates came in as follows 05/09/2008 18:00:00
10/10/2008 18:00:00
23/10/2008 18:00:00
05/12/2008 16:01:00
28/11/2008 18:00:00
05/12/2008 10:00:00
06/06/2008 18:00:00
27/06/2008 18:00:00
18/07/2008 12:35:00
22/08/2008 18:00:00

How can i change them to all have a finish time of 18:00:00? Please note
that this is a sample from over 2,000 dates i have to modify.

Help Please!!!


Stefi

Formatting Date Field
 
incoming dates beeing in column A
=INT(A2)+0.75
and format result cells as date/time
Regards,
Stefi


€žwhatzzup€ť ezt Ă*rta:

Good day, i have a problem where i have imported some data with dates and
time, the problem is i need to modify the time part of the date to a specific
time like 18:00:00. The dates came in as follows 05/09/2008 18:00:00
10/10/2008 18:00:00
23/10/2008 18:00:00
05/12/2008 16:01:00
28/11/2008 18:00:00
05/12/2008 10:00:00
06/06/2008 18:00:00
27/06/2008 18:00:00
18/07/2008 12:35:00
22/08/2008 18:00:00

How can i change them to all have a finish time of 18:00:00? Please note
that this is a sample from over 2,000 dates i have to modify.

Help Please!!!


whatzzup

Formatting Date Field
 
Thanks Stefi, but the entire date string is in on cell, all i need to do is
to change the time section, i can do this easily in search and replace but
because they are random times i would have to know what they are in the first
place to change them to 18:00:00

"Stefi" wrote:

incoming dates beeing in column A
=INT(A2)+0.75
and format result cells as date/time
Regards,
Stefi


€žwhatzzup€ť ezt Ă*rta:

Good day, i have a problem where i have imported some data with dates and
time, the problem is i need to modify the time part of the date to a specific
time like 18:00:00. The dates came in as follows 05/09/2008 18:00:00
10/10/2008 18:00:00
23/10/2008 18:00:00
05/12/2008 16:01:00
28/11/2008 18:00:00
05/12/2008 10:00:00
06/06/2008 18:00:00
27/06/2008 18:00:00
18/07/2008 12:35:00
22/08/2008 18:00:00

How can i change them to all have a finish time of 18:00:00? Please note
that this is a sample from over 2,000 dates i have to modify.

Help Please!!!


Stefi

Formatting Date Field
 
I see, if they are strings instead of Excel date/time values, then use this
formula:
=LEFT(A2,11)&"18:00:00"
You can overwrite the original values with Copy/PasteSpecial-Values, if
necessary.

Regards,
Stefi

€žwhatzzup€ť ezt Ă*rta:

Thanks Stefi, but the entire date string is in on cell, all i need to do is
to change the time section, i can do this easily in search and replace but
because they are random times i would have to know what they are in the first
place to change them to 18:00:00

"Stefi" wrote:

incoming dates beeing in column A
=INT(A2)+0.75
and format result cells as date/time
Regards,
Stefi


€žwhatzzup€ť ezt Ă*rta:

Good day, i have a problem where i have imported some data with dates and
time, the problem is i need to modify the time part of the date to a specific
time like 18:00:00. The dates came in as follows 05/09/2008 18:00:00
10/10/2008 18:00:00
23/10/2008 18:00:00
05/12/2008 16:01:00
28/11/2008 18:00:00
05/12/2008 10:00:00
06/06/2008 18:00:00
27/06/2008 18:00:00
18/07/2008 12:35:00
22/08/2008 18:00:00

How can i change them to all have a finish time of 18:00:00? Please note
that this is a sample from over 2,000 dates i have to modify.

Help Please!!!


whatzzup

Formatting Date Field
 
Thanks Stefi, it work a charm

"Stefi" wrote:

I see, if they are strings instead of Excel date/time values, then use this
formula:
=LEFT(A2,11)&"18:00:00"
You can overwrite the original values with Copy/PasteSpecial-Values, if
necessary.

Regards,
Stefi

€žwhatzzup€ť ezt Ă*rta:

Thanks Stefi, but the entire date string is in on cell, all i need to do is
to change the time section, i can do this easily in search and replace but
because they are random times i would have to know what they are in the first
place to change them to 18:00:00

"Stefi" wrote:

incoming dates beeing in column A
=INT(A2)+0.75
and format result cells as date/time
Regards,
Stefi


€žwhatzzup€ť ezt Ă*rta:

Good day, i have a problem where i have imported some data with dates and
time, the problem is i need to modify the time part of the date to a specific
time like 18:00:00. The dates came in as follows 05/09/2008 18:00:00
10/10/2008 18:00:00
23/10/2008 18:00:00
05/12/2008 16:01:00
28/11/2008 18:00:00
05/12/2008 10:00:00
06/06/2008 18:00:00
27/06/2008 18:00:00
18/07/2008 12:35:00
22/08/2008 18:00:00

How can i change them to all have a finish time of 18:00:00? Please note
that this is a sample from over 2,000 dates i have to modify.

Help Please!!!


Stefi

Formatting Date Field
 
You are welcome! Thanks for the feedback!
Stefi

€žwhatzzup€ť ezt Ă*rta:

Thanks Stefi, it work a charm

"Stefi" wrote:

I see, if they are strings instead of Excel date/time values, then use this
formula:
=LEFT(A2,11)&"18:00:00"
You can overwrite the original values with Copy/PasteSpecial-Values, if
necessary.

Regards,
Stefi

€žwhatzzup€ť ezt Ă*rta:

Thanks Stefi, but the entire date string is in on cell, all i need to do is
to change the time section, i can do this easily in search and replace but
because they are random times i would have to know what they are in the first
place to change them to 18:00:00

"Stefi" wrote:

incoming dates beeing in column A
=INT(A2)+0.75
and format result cells as date/time
Regards,
Stefi


€žwhatzzup€ť ezt Ă*rta:

Good day, i have a problem where i have imported some data with dates and
time, the problem is i need to modify the time part of the date to a specific
time like 18:00:00. The dates came in as follows 05/09/2008 18:00:00
10/10/2008 18:00:00
23/10/2008 18:00:00
05/12/2008 16:01:00
28/11/2008 18:00:00
05/12/2008 10:00:00
06/06/2008 18:00:00
27/06/2008 18:00:00
18/07/2008 12:35:00
22/08/2008 18:00:00

How can i change them to all have a finish time of 18:00:00? Please note
that this is a sample from over 2,000 dates i have to modify.

Help Please!!!



All times are GMT +1. The time now is 02:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com