Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Time without date

The below is in a pre-dowloaded column, column L
11/14/06 4:19
It has custom formatting as m"/"d"/"yy" "h":"mm

What formula do I need to enter in the M column to just show the 4:19,
keeping the h:mm formatting, because I still need to subtract a time in one
column from a time in another column.

Thanks,

Steve

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,089
Default Time without date

Steve

Assuming the date/time is in column L2, in M2 put: =L2 and format as
hh:mm

Note that you don't need the quote marks in your format

Regards

Trevor


"Steve" wrote in message
...
The below is in a pre-dowloaded column, column L
11/14/06 4:19
It has custom formatting as m"/"d"/"yy" "h":"mm

What formula do I need to enter in the M column to just show the 4:19,
keeping the h:mm formatting, because I still need to subtract a time in
one
column from a time in another column.

Thanks,

Steve



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Time without date

Try this:

=MOD(L1,1)

Format as h:mm

Biff

"Steve" wrote in message
...
The below is in a pre-dowloaded column, column L
11/14/06 4:19
It has custom formatting as m"/"d"/"yy" "h":"mm

What formula do I need to enter in the M column to just show the 4:19,
keeping the h:mm formatting, because I still need to subtract a time in
one
column from a time in another column.

Thanks,

Steve



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Time without date

Thanks both much. I knew it was something simple I just couldn't remember.

now, next problem

Assuming I range out the time differences it the two of the columns, such
as: start at 1:04, end at 1:20, to get :16 in a new column. All these times
correspond to 1 of 4 different machines. For example 1, 2, 3, or 4 in column
A. What formula could I use to get the total time used for #1, for #2, etc.
Basically I want to show # 1 as :40, # 2 as :13, etc.
1 :16
1 :20
1 :04
2 :02
2 :08
2 :03


Thanks again,

"Biff" wrote:

Try this:

=MOD(L1,1)

Format as h:mm

Biff

"Steve" wrote in message
...
The below is in a pre-dowloaded column, column L
11/14/06 4:19
It has custom formatting as m"/"d"/"yy" "h":"mm

What formula do I need to enter in the M column to just show the 4:19,
keeping the h:mm formatting, because I still need to subtract a time in
one
column from a time in another column.

Thanks,

Steve




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Time without date

Try this:

=SUMIF(A1:A6,1,B1:B6)
=SUMIF(A1:A6,2,B1:B6)
=SUMIF(A1:A6,3,B1:B6)

Or, use cells to hold the machine number:

C1 = 1
C2 = 2
C3 = 3

Then, in say, D1:

=SUMIF(A$1:A$6,C1,B$1:B$6)

Copy down to D3

Format to suit.

Biff

"Steve" wrote in message
...
Thanks both much. I knew it was something simple I just couldn't remember.

now, next problem

Assuming I range out the time differences it the two of the columns, such
as: start at 1:04, end at 1:20, to get :16 in a new column. All these
times
correspond to 1 of 4 different machines. For example 1, 2, 3, or 4 in
column
A. What formula could I use to get the total time used for #1, for #2,
etc.
Basically I want to show # 1 as :40, # 2 as :13, etc.
1 :16
1 :20
1 :04
2 :02
2 :08
2 :03


Thanks again,

"Biff" wrote:

Try this:

=MOD(L1,1)

Format as h:mm

Biff

"Steve" wrote in message
...
The below is in a pre-dowloaded column, column L
11/14/06 4:19
It has custom formatting as m"/"d"/"yy" "h":"mm

What formula do I need to enter in the M column to just show the 4:19,
keeping the h:mm formatting, because I still need to subtract a time in
one
column from a time in another column.

Thanks,

Steve








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Time without date

Perfect. Thanks much.

"Biff" wrote:

Try this:

=SUMIF(A1:A6,1,B1:B6)
=SUMIF(A1:A6,2,B1:B6)
=SUMIF(A1:A6,3,B1:B6)

Or, use cells to hold the machine number:

C1 = 1
C2 = 2
C3 = 3

Then, in say, D1:

=SUMIF(A$1:A$6,C1,B$1:B$6)

Copy down to D3

Format to suit.

Biff

"Steve" wrote in message
...
Thanks both much. I knew it was something simple I just couldn't remember.

now, next problem

Assuming I range out the time differences it the two of the columns, such
as: start at 1:04, end at 1:20, to get :16 in a new column. All these
times
correspond to 1 of 4 different machines. For example 1, 2, 3, or 4 in
column
A. What formula could I use to get the total time used for #1, for #2,
etc.
Basically I want to show # 1 as :40, # 2 as :13, etc.
1 :16
1 :20
1 :04
2 :02
2 :08
2 :03


Thanks again,

"Biff" wrote:

Try this:

=MOD(L1,1)

Format as h:mm

Biff

"Steve" wrote in message
...
The below is in a pre-dowloaded column, column L
11/14/06 4:19
It has custom formatting as m"/"d"/"yy" "h":"mm

What formula do I need to enter in the M column to just show the 4:19,
keeping the h:mm formatting, because I still need to subtract a time in
one
column from a time in another column.

Thanks,

Steve







  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Time without date

You're welcome. Thanks for the feedback!

Biff

"Steve" wrote in message
...
Perfect. Thanks much.

"Biff" wrote:

Try this:

=SUMIF(A1:A6,1,B1:B6)
=SUMIF(A1:A6,2,B1:B6)
=SUMIF(A1:A6,3,B1:B6)

Or, use cells to hold the machine number:

C1 = 1
C2 = 2
C3 = 3

Then, in say, D1:

=SUMIF(A$1:A$6,C1,B$1:B$6)

Copy down to D3

Format to suit.

Biff

"Steve" wrote in message
...
Thanks both much. I knew it was something simple I just couldn't
remember.

now, next problem

Assuming I range out the time differences it the two of the columns,
such
as: start at 1:04, end at 1:20, to get :16 in a new column. All these
times
correspond to 1 of 4 different machines. For example 1, 2, 3, or 4 in
column
A. What formula could I use to get the total time used for #1, for #2,
etc.
Basically I want to show # 1 as :40, # 2 as :13, etc.
1 :16
1 :20
1 :04
2 :02
2 :08
2 :03


Thanks again,

"Biff" wrote:

Try this:

=MOD(L1,1)

Format as h:mm

Biff

"Steve" wrote in message
...
The below is in a pre-dowloaded column, column L
11/14/06 4:19
It has custom formatting as m"/"d"/"yy" "h":"mm

What formula do I need to enter in the M column to just show the
4:19,
keeping the h:mm formatting, because I still need to subtract a time
in
one
column from a time in another column.

Thanks,

Steve









  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Time without date

On Tue, 14 Nov 2006 14:08:01 -0800, Steve
wrote:

now, next problem

Assuming I range out the time differences it the two of the columns, such
as: start at 1:04, end at 1:20, to get :16 in a new column. All these times
correspond to 1 of 4 different machines. For example 1, 2, 3, or 4 in column
A. What formula could I use to get the total time used for #1, for #2, etc.
Basically I want to show # 1 as :40, # 2 as :13, etc.
1 :16
1 :20
1 :04
2 :02
2 :08
2 :03



Something like:

=SUMIF(A1:A6,1,B1:B6)


--ron
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
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Calculating Difference Between Start Date & Time And End Date & Ti Samwar Excel Discussion (Misc queries) 2 December 19th 05 12:42 PM
change date based on time kdp145 Excel Discussion (Misc queries) 7 December 14th 05 02:05 AM
How do I calculate if a date is in a certain time frame? Pe66les Excel Worksheet Functions 19 August 27th 05 11:07 PM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM


All times are GMT +1. The time now is 05:43 AM.

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"