Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
=IF(L5<"",TODAY()-L5+1,"")
This formula has 4 criteria:
Date received (J5) Date claimed (K5) Storage Start Date (L5) Elapsed Days (M5) The first 2 criteria are self explanatory. Storage start date is initiated if goods aren't claimed within 24 hrs. I need to stop the elapsed days as soon as a value is is entered into Date Claimed M5 - at the moment it continues to count. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
=IF(L5<"",TODAY()-L5+1,"")
So what is wrong with the formula that you give?
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Michell Major" wrote in message ... This formula has 4 criteria: Date received (J5) Date claimed (K5) Storage Start Date (L5) Elapsed Days (M5) The first 2 criteria are self explanatory. Storage start date is initiated if goods aren't claimed within 24 hrs. I need to stop the elapsed days as soon as a value is is entered into Date Claimed M5 - at the moment it continues to count. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
=IF(L5<"",TODAY()-L5+1,"")
Bob
01/04/2007 03/04/2007 02/04/2007 15 The formula continues to count elapsed days from today's date whereas it should stop as soon as the date '03/04/2007' is enetered. So the above should read"1" days' storage not 15. TIA Dan "Bob Phillips" wrote: So what is wrong with the formula that you give? -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Michell Major" wrote in message ... This formula has 4 criteria: Date received (J5) Date claimed (K5) Storage Start Date (L5) Elapsed Days (M5) The first 2 criteria are self explanatory. Storage start date is initiated if goods aren't claimed within 24 hrs. I need to stop the elapsed days as soon as a value is is entered into Date Claimed M5 - at the moment it continues to count. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
=IF(L5<"",TODAY()-L5+1,"")
=IF(L5<"",IF(K5<"",MIN(K5-L5,1),TODAY()-L5+1),"") ?
-- David Biddulph "Michell Major" wrote in message ... Bob 01/04/2007 03/04/2007 02/04/2007 15 The formula continues to count elapsed days from today's date whereas it should stop as soon as the date '03/04/2007' is enetered. So the above should read"1" days' storage not 15. "Bob Phillips" wrote: So what is wrong with the formula that you give? -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Michell Major" wrote in message ... This formula has 4 criteria: Date received (J5) Date claimed (K5) Storage Start Date (L5) Elapsed Days (M5) The first 2 criteria are self explanatory. Storage start date is initiated if goods aren't claimed within 24 hrs. I need to stop the elapsed days as soon as a value is is entered into Date Claimed M5 - at the moment it continues to count. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
=IF(L5<"",TODAY()-L5+1,"")
David. Thanks. Unfortunately the formula returns a constant value of 1 i.e:
01/04/2007 13/04/2007 02/04/2007 1 Dan "David Biddulph" wrote: =IF(L5<"",IF(K5<"",MIN(K5-L5,1),TODAY()-L5+1),"") ? -- David Biddulph "Michell Major" wrote in message ... Bob 01/04/2007 03/04/2007 02/04/2007 15 The formula continues to count elapsed days from today's date whereas it should stop as soon as the date '03/04/2007' is enetered. So the above should read"1" days' storage not 15. "Bob Phillips" wrote: So what is wrong with the formula that you give? -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Michell Major" wrote in message ... This formula has 4 criteria: Date received (J5) Date claimed (K5) Storage Start Date (L5) Elapsed Days (M5) The first 2 criteria are self explanatory. Storage start date is initiated if goods aren't claimed within 24 hrs. I need to stop the elapsed days as soon as a value is is entered into Date Claimed M5 - at the moment it continues to count. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
=IF(L5<"",TODAY()-L5+1,"")
Sorry, I was asleep, so my usual confusion between MIN and MAX when I
changed the formula at the last minute. I wanted a minimum limit, so I should have used MAX. Try =IF(L5<"",IF(K5<"",MAX(K5-L5,1),TODAY()-L5+1),"") -- David Biddulph "Michell Major" wrote in message ... David. Thanks. Unfortunately the formula returns a constant value of 1 i.e: 01/04/2007 13/04/2007 02/04/2007 1 "David Biddulph" wrote: =IF(L5<"",IF(K5<"",MIN(K5-L5,1),TODAY()-L5+1),"") ? -- David Biddulph "Michell Major" wrote in message ... Bob 01/04/2007 03/04/2007 02/04/2007 15 The formula continues to count elapsed days from today's date whereas it should stop as soon as the date '03/04/2007' is enetered. So the above should read"1" days' storage not 15. "Bob Phillips" wrote: So what is wrong with the formula that you give? -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Michell Major" wrote in message ... This formula has 4 criteria: Date received (J5) Date claimed (K5) Storage Start Date (L5) Elapsed Days (M5) The first 2 criteria are self explanatory. Storage start date is initiated if goods aren't claimed within 24 hrs. I need to stop the elapsed days as soon as a value is is entered into Date Claimed M5 - at the moment it continues to count. |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
=IF(L5<"",TODAY()-L5+1,"")
Hi
Try =IF(J5="","",IF(K5="",TODAY()-L5+1,(K5-L5))) -- Regards Roger Govier "Michell Major" wrote in message ... David. Thanks. Unfortunately the formula returns a constant value of 1 i.e: 01/04/2007 13/04/2007 02/04/2007 1 Dan "David Biddulph" wrote: =IF(L5<"",IF(K5<"",MIN(K5-L5,1),TODAY()-L5+1),"") ? -- David Biddulph "Michell Major" wrote in message ... Bob 01/04/2007 03/04/2007 02/04/2007 15 The formula continues to count elapsed days from today's date whereas it should stop as soon as the date '03/04/2007' is enetered. So the above should read"1" days' storage not 15. "Bob Phillips" wrote: So what is wrong with the formula that you give? -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Michell Major" wrote in message ... This formula has 4 criteria: Date received (J5) Date claimed (K5) Storage Start Date (L5) Elapsed Days (M5) The first 2 criteria are self explanatory. Storage start date is initiated if goods aren't claimed within 24 hrs. I need to stop the elapsed days as soon as a value is is entered into Date Claimed M5 - at the moment it continues to count. |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
=IF(L5<"",TODAY()-L5+1,"")
David - thanks so much, it works as intended.
Regards dan "David Biddulph" wrote: Sorry, I was asleep, so my usual confusion between MIN and MAX when I changed the formula at the last minute. I wanted a minimum limit, so I should have used MAX. Try =IF(L5<"",IF(K5<"",MAX(K5-L5,1),TODAY()-L5+1),"") -- David Biddulph "Michell Major" wrote in message ... David. Thanks. Unfortunately the formula returns a constant value of 1 i.e: 01/04/2007 13/04/2007 02/04/2007 1 "David Biddulph" wrote: =IF(L5<"",IF(K5<"",MIN(K5-L5,1),TODAY()-L5+1),"") ? -- David Biddulph "Michell Major" wrote in message ... Bob 01/04/2007 03/04/2007 02/04/2007 15 The formula continues to count elapsed days from today's date whereas it should stop as soon as the date '03/04/2007' is enetered. So the above should read"1" days' storage not 15. "Bob Phillips" wrote: So what is wrong with the formula that you give? -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Michell Major" wrote in message ... This formula has 4 criteria: Date received (J5) Date claimed (K5) Storage Start Date (L5) Elapsed Days (M5) The first 2 criteria are self explanatory. Storage start date is initiated if goods aren't claimed within 24 hrs. I need to stop the elapsed days as soon as a value is is entered into Date Claimed M5 - at the moment it continues to count. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) | |||
=IF((TODAY()-B8)30, "Overdue", "Current"), | Excel Discussion (Misc queries) | |||
Insert "-" in text "1234567890" to have a output like this"123-456-7890" | Excel Discussion (Misc queries) |