Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Formula problem

I have a formula that I set up that should be working, but is not
functioning properly. My spreadsheet has 4 fields:
Initial Date, Follow-up Date, Rec'd Date, Due Date.
The first 3 dates are populated from a database. The fourth, Due
Date, is a calculation with a formula. The formula is to determine
from the 3 dates which one should be used to calculate the Due Date,
and then add 15 days to that determined date. In some cases the
initial date is a recent date, and the formula works fine. In other
cases it is an old date and formula does not work correctly.
Sometimes there is a follow up date, sometime not, and sometimes the
follow up date is recent and sometimes it is old. My formula uses a
date checker of 10/22 for the Initial and Follow Up dates b/c anything
prior to that date is considered legacy and should not be used to
calculate the Due Date.

E.g.,
Initial = 6/1/2010
Follow-up = is blank
Rec'd = 11/22/2010
In this case I want to calculate the Due Date off of the Rec'd Date by
adding 15 Days and receiving a Due Date of Dec. 10. However, my
formula below, keeps reverting to using the Initial Date. For the
formula below, Initial = C, FU=D and Rec'd=E.
IF(D8="",IF(C8<10/22/2010,E8+15,C8+15),IF(D8<10/22/2010,E8+15,D8+15))

Any advice on what might be wrong with this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Formula problem

On Nov 23, 1:57*pm, Barbara Sabatino wrote:
I have a formula that I set up that should be working, but is not
functioning properly. *My spreadsheet has 4 fields:
Initial Date, Follow-up Date, Rec'd Date, Due Date.
The first 3 dates are populated from a database. *The fourth, Due
Date, is a calculation with a formula. *The formula is to determine
from the 3 dates which one should be used to calculate the Due Date,
and then add 15 days to that determined date. *In some cases the
initial date is a recent date, and the formula works fine. *In other
cases it is an old date and formula does not work correctly.
Sometimes there is a follow up date, sometime not, and sometimes the
follow up date is recent and sometimes it is old. *My formula uses a
date checker of 10/22 for the Initial and Follow Up dates b/c anything
prior to that date is considered legacy and should not be used to
calculate the Due Date.

E.g.,
Initial = 6/1/2010
Follow-up = is blank
Rec'd = 11/22/2010
In this case I want to calculate the Due Date off of the Rec'd Date by
adding 15 Days and receiving a Due Date of Dec. 10. *However, my
formula below, keeps reverting to using the Initial Date. *For the
formula below, Initial = C, FU=D and Rec'd=E.
IF(D8="",IF(C8<10/22/2010,E8+15,C8+15),IF(D8<10/22/2010,E8+15,D8+15))

Any advice on what might be wrong with this?



Try this formula:
=IF(D8="",IF(C8<DATEVALUE("10/22/2010"),E8+15,C8+15),IF(D8<DATEVALUE("10/22/2010"),E8+15,D8+15))
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Formula problem

On Nov 23, 2:39*pm, goshute wrote:
On Nov 23, 1:57*pm, Barbara Sabatino wrote:





I have a formula that I set up that should be working, but is not
functioning properly. *My spreadsheet has 4 fields:
Initial Date, Follow-up Date, Rec'd Date, Due Date.
The first 3 dates are populated from a database. *The fourth, Due
Date, is a calculation with a formula. *The formula is to determine
from the 3 dates which one should be used to calculate the Due Date,
and then add 15 days to that determined date. *In some cases the
initial date is a recent date, and the formula works fine. *In other
cases it is an old date and formula does not work correctly.
Sometimes there is a follow up date, sometime not, and sometimes the
follow up date is recent and sometimes it is old. *My formula uses a
date checker of 10/22 for the Initial and Follow Up dates b/c anything
prior to that date is considered legacy and should not be used to
calculate the Due Date.


E.g.,
Initial = 6/1/2010
Follow-up = is blank
Rec'd = 11/22/2010
In this case I want to calculate the Due Date off of the Rec'd Date by
adding 15 Days and receiving a Due Date of Dec. 10. *However, my
formula below, keeps reverting to using the Initial Date. *For the
formula below, Initial = C, FU=D and Rec'd=E.
IF(D8="",IF(C8<10/22/2010,E8+15,C8+15),IF(D8<10/22/2010,E8+15,D8+15))


Any advice on what might be wrong with this?


Try this formula:
=IF(D8="",IF(C8<DATEVALUE("10/22/2010"),E8+15,C8+15),IF(D8<DATEVALUE("10/22*/2010"),E8+15,D8+15))- Hide quoted text -

- Show quoted text -


Yea--it worked! Thank you so much!
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
Formula Problem cherman Excel Worksheet Functions 5 December 17th 09 05:10 AM
Formula Problem suzi_wells[_2_] Excel Programming 2 June 16th 08 05:16 PM
Formula Problem suzi_wells Excel Discussion (Misc queries) 4 June 16th 08 05:15 PM
Another formula problem Frances C[_2_] Excel Worksheet Functions 6 November 1st 07 01:37 AM
Formula Problem Secret Squirrel Excel Discussion (Misc queries) 3 August 3rd 07 02:14 AM


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