#1   Report Post  
TDawg1831
 
Posts: n/a
Default Formula Help

This is a tricky one but hopefully someone will be able to help. I need to
create a formula that can will give me an updated date based on dates. I
have a effective date and term of contract. Now if the contract is renewable
I want the formula to be able to look at the effective date and extend it out
by the term, say 5 years, and give me the new date if that day hasn't passed
the current day. If it has then extend the contract by the term again.

My thought is that only a very intricate IF function will work. I think I
have it but am having trouble getting into formula terms.

Here's what I have

=IF(I3="Y",=IF(Time Between the current date and the effective date is =<
the term, then the effective date plus the term,effective date),=IF(Time
between the current date and the effective date is =< the term, then the
effective date plus the term, effective date))
  #2   Report Post  
pinmaster
 
Posts: n/a
Default Formula Help


Hi,
I'm not sure if this is what your looking for but try this:

=IF(A1="y",IF(DATEDIF(B1,TODAY(),"d")<=C1*365.24,B 1+C1*365.24,B1+(2*(C1*365.24))),"")

B1 - effective date
C1 - term in years

Hope this helps
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=482987

  #3   Report Post  
TDawg1831
 
Posts: n/a
Default Formula Help

Thanks!!!!! That worked perfectly!!

TDawg1831

"pinmaster" wrote:


Hi,
I'm not sure if this is what your looking for but try this:

=IF(A1="y",IF(DATEDIF(B1,TODAY(),"d")<=C1*365.24,B 1+C1*365.24,B1+(2*(C1*365.24))),"")

B1 - effective date
C1 - term in years

Hope this helps
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=482987


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
IF formula? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 08:56 PM.

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"