Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kzoo91
 
Posts: n/a
Default Excel - compare function

I am trying to compare Date/time (in 1 cell) between 2 cells in "hr,mm" (can
span days)
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

would you mind typing out a couple of samples (in your reply post, please do
not attach a workbook) of what you have and what you're looking for, because
i'm not sure if you just want to compare or find the differences between the
times or the days or both.

Cheers
JulieD

"kzoo91" wrote in message
...
I am trying to compare Date/time (in 1 cell) between 2 cells in "hr,mm"
(can
span days)



  #3   Report Post  
kzoo91
 
Posts: n/a
Default

Hi Julie,

I am trying to determine the difference with the result being in "hr:mm" It
was easy when it was a couple of hours, but when it spans days, that's when
we get stuck.
Samples:
Time Start Time End Result
Result in "hr:mm"
3/1/05 10:00 AM 3/2/05 2:00 PM 1/1/00 4:00 AM 4:00
2/14/05 11:35 AM 2/14/05 12:00 PM 1/0/00 12:25 AM 0:25
2/14/05 1:16 PM 2/17/05 10:00 AM 1/2/00 8:44 PM #NAME?

The top 2 easily use: =TEXT(B2-A2,"h:mm")
But when it spans days .... ??

Thanks ever so much!
Terry

"JulieD" wrote:

Hi

would you mind typing out a couple of samples (in your reply post, please do
not attach a workbook) of what you have and what you're looking for, because
i'm not sure if you just want to compare or find the differences between the
times or the days or both.

Cheers
JulieD

"kzoo91" wrote in message
...
I am trying to compare Date/time (in 1 cell) between 2 cells in "hr,mm"
(can
span days)




  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi Terry

try
=TEXT(B2-A2,"[h]:mm")

Cheers
JulieD

"kzoo91" wrote in message
...
Hi Julie,

I am trying to determine the difference with the result being in "hr:mm"
It
was easy when it was a couple of hours, but when it spans days, that's
when
we get stuck.
Samples:
Time Start Time End Result
Result in "hr:mm"
3/1/05 10:00 AM 3/2/05 2:00 PM 1/1/00 4:00 AM 4:00
2/14/05 11:35 AM 2/14/05 12:00 PM 1/0/00 12:25 AM 0:25
2/14/05 1:16 PM 2/17/05 10:00 AM 1/2/00 8:44 PM #NAME?

The top 2 easily use: =TEXT(B2-A2,"h:mm")
But when it spans days .... ??

Thanks ever so much!
Terry

"JulieD" wrote:

Hi

would you mind typing out a couple of samples (in your reply post, please
do
not attach a workbook) of what you have and what you're looking for,
because
i'm not sure if you just want to compare or find the differences between
the
times or the days or both.

Cheers
JulieD

"kzoo91" wrote in message
...
I am trying to compare Date/time (in 1 cell) between 2 cells in "hr,mm"
(can
span days)






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
Is there a Timestamp function that does not update in Excel? Guard 823 Excel Worksheet Functions 2 February 25th 05 02:42 PM
Return value with using Excel function SNOWBALLCHAN New Users to Excel 1 February 21st 05 07:25 AM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 06:44 AM.

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

About Us

"It's about Microsoft Excel"