Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default EXCEL 2003 Dates & elapsed time

Elegant formula help needed. the 4 cells concerned a

Date received, Date Claimed, storage start date and Elapsed days. Whe if
the goods are claimed in less than 24 hours NO elapsed days and no storage
date show. If than 1 day then storage date starts as Date Received +1and
elapsed days begin. Storage chard=ges are driven by elapsed time.

This formula of mine doesn't work and is to clumsy anyway.
=IF(K5-J5<=1,"",IF(K5-J51,J5+1))

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default EXCEL 2003 Dates & elapsed time

One way:

If you're only entering dates:

Storage Start Date:

L5: =IF(J5=K5,"",J5+1)

Elapsed Days:

M5: =IF(L5="","",TODAY()-L5)

If you're actually entering dates and times in J5 & K5, then

L5: =IF(K5-J5<=1,"",J5+1)
M5: =IF(L5="","",INT(NOW()-L5))


In article ,
Michell Major wrote:

Elegant formula help needed. the 4 cells concerned a

Date received, Date Claimed, storage start date and Elapsed days. Whe if
the goods are claimed in less than 24 hours NO elapsed days and no storage
date show. If than 1 day then storage date starts as Date Received +1and
elapsed days begin. Storage chard=ges are driven by elapsed time.

This formula of mine doesn't work and is to clumsy anyway.
=IF(K5-J5<=1,"",IF(K5-J51,J5+1))

Many thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default EXCEL 2003 Dates & elapsed time

If the dates are DATES only (no times) then try this:

in L5:

=IF(K5-J5<=1,"",J5+1)

Elapsed days: (in M5)

=IF(L5<"",TODAY()-L5+1,"")

J2=07/04/2007 (UK dates)
K2=12/04/2007
L2=08/04/2007
M2=4 (today is 11/04/2007)

HTH


"Michell Major" wrote:

Elegant formula help needed. the 4 cells concerned a

Date received, Date Claimed, storage start date and Elapsed days. Whe if
the goods are claimed in less than 24 hours NO elapsed days and no storage
date show. If than 1 day then storage date starts as Date Received +1and
elapsed days begin. Storage chard=ges are driven by elapsed time.

This formula of mine doesn't work and is to clumsy anyway.
=IF(K5-J5<=1,"",IF(K5-J51,J5+1))

Many thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default EXCEL 2003 Dates & elapsed time

Many thanks. I have since found that I need to 'stop the clock' when a
claimed date (L2) is entered. M2 continues to tot-up elapsed days?

TIA

Dan

"Toppers" wrote:

If the dates are DATES only (no times) then try this:

in L5:

=IF(K5-J5<=1,"",J5+1)

Elapsed days: (in M5)

=IF(L5<"",TODAY()-L5+1,"")

J2=07/04/2007 (UK dates)
K2=12/04/2007
L2=08/04/2007
M2=4 (today is 11/04/2007)

HTH


"Michell Major" wrote:

Elegant formula help needed. the 4 cells concerned a

Date received, Date Claimed, storage start date and Elapsed days. Whe if
the goods are claimed in less than 24 hours NO elapsed days and no storage
date show. If than 1 day then storage date starts as Date Received +1and
elapsed days begin. Storage chard=ges are driven by elapsed time.

This formula of mine doesn't work and is to clumsy anyway.
=IF(K5-J5<=1,"",IF(K5-J51,J5+1))

Many thanks

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
calculate elapsed time between dates and times Jenna Excel Worksheet Functions 2 January 25th 06 04:39 PM
Ref: Formula to calculate elapsed time between certain dates and t DrBarqs Excel Discussion (Misc queries) 2 November 18th 05 11:16 PM
Need Elapsed Time Help Jwy Excel Worksheet Functions 2 September 29th 05 03:54 AM
Formula to calculate elapsed time between certain dates and times Stadinx Excel Discussion (Misc queries) 6 March 25th 05 07:02 AM
elapsed time Sweetpea60 Excel Worksheet Functions 6 March 2nd 05 04:41 PM


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