#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Combining Times

Good evening all

I am working with an employee schedule, that we are in the process of
importing into Access. Whom ever made the excel sheet (10 million years ago)
put the schedule on 3 different rows

Emp Number Start Time
End Time
Hours worked
The times have been formated to show "Short Time"

I would like to combine the time up into a single line like:

Emp Number 07:00-16:30

Is there any way to do this without retyping the entire mess?????

Thanks


--
Jerry
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Combining Times

Try this formula, assuming B1 and B2 are your Start Time and End Time:

=TEXT(B1,"h:mm")&" - "&TEXT(B2,"h:mm")

HTH,
Elkar


"Jerry Mc Cauley" wrote:

Good evening all

I am working with an employee schedule, that we are in the process of
importing into Access. Whom ever made the excel sheet (10 million years ago)
put the schedule on 3 different rows

Emp Number Start Time
End Time
Hours worked
The times have been formated to show "Short Time"

I would like to combine the time up into a single line like:

Emp Number 07:00-16:30

Is there any way to do this without retyping the entire mess?????

Thanks


--
Jerry

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Combining Times

From your posting I assume A1 has the ID
B1 has the start time
B2 has the end time
B3 has the time difference


In E1 put:
=INDIRECT("A" & ROW()*3-2)
In F1 put:
=INDIRECT("B" & ROW()*3-2)
In G1 put:
=INDIRECT("B" & ROW()*3-1)
In H1 put:
=INDIRECT("B" & ROW()*3)


E1 thru H1 should be the first record.

Copy E1 thru H1 and past down as far as you need.
--
Gary's Student


"Jerry Mc Cauley" wrote:

Good evening all

I am working with an employee schedule, that we are in the process of
importing into Access. Whom ever made the excel sheet (10 million years ago)
put the schedule on 3 different rows

Emp Number Start Time
End Time
Hours worked
The times have been formated to show "Short Time"

I would like to combine the time up into a single line like:

Emp Number 07:00-16:30

Is there any way to do this without retyping the entire mess?????

Thanks


--
Jerry

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
Avg Times in MOD fx using selected rows vldavis809 Excel Worksheet Functions 2 July 7th 06 10:08 AM
sorting multiple minimum times the swimmer Excel Discussion (Misc queries) 2 December 23rd 05 02:32 AM
Charting and analyzing Times' times data for trends Johnny Excel Discussion (Misc queries) 1 May 5th 05 01:36 AM
Copy from worksheet to another x times Union70 Excel Discussion (Misc queries) 0 March 7th 05 09:03 PM
SUMPRODUCT ON TIMES Bob Phillips Excel Worksheet Functions 1 January 13th 05 05:28 PM


All times are GMT +1. The time now is 09:37 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"