Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
darren16
 
Posts: n/a
Default incremental years

i have a cell that contains a date (A1). this date forms the basis of a
lockup period that can be 2 years, 3 years, or 5 years (entered in B1). the
user will enter a date in the future (in cell C1), and a formula (in D1)
needs to be able to determine whether the funds are available. any help on
the formula would be highly appreciated. thanks!
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

If I understand you correctly:

D1: =IF(C1<=DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1)),"Funde d","Under-funded")


In article ,
"darren16" wrote:

i have a cell that contains a date (A1). this date forms the basis of a
lockup period that can be 2 years, 3 years, or 5 years (entered in B1). the
user will enter a date in the future (in cell C1), and a formula (in D1)
needs to be able to determine whether the funds are available. any help on
the formula would be highly appreciated. thanks!

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=IF(DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1))<C1,"Availa ble",Not Available")


Regards,

Peo Sjoblom

"darren16" wrote:

i have a cell that contains a date (A1). this date forms the basis of a
lockup period that can be 2 years, 3 years, or 5 years (entered in B1). the
user will enter a date in the future (in cell C1), and a formula (in D1)
needs to be able to determine whether the funds are available. any help on
the formula would be highly appreciated. thanks!

  #4   Report Post  
darren16
 
Posts: n/a
Default

i may not have been specific enough. the lockup periods are recurring for
eternity (theoretically of course). for example, for the two year. i need
{T,T+2,T+4,T+6,...}

"JE McGimpsey" wrote:

If I understand you correctly:

D1: =IF(C1<=DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1)),"Funde d","Under-funded")


In article ,
"darren16" wrote:

i have a cell that contains a date (A1). this date forms the basis of a
lockup period that can be 2 years, 3 years, or 5 years (entered in B1). the
user will enter a date in the future (in cell C1), and a formula (in D1)
needs to be able to determine whether the funds are available. any help on
the formula would be highly appreciated. thanks!


  #5   Report Post  
darren16
 
Posts: n/a
Default

Thanks for posting, however, I may have not been specific enough. the lockup
periods are recurring for eternity; so every two, three, or five years there
will be one anniversary date when the money becomes available

"Peo Sjoblom" wrote:

=IF(DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1))<C1,"Availa ble",Not Available")


Regards,

Peo Sjoblom

"darren16" wrote:

i have a cell that contains a date (A1). this date forms the basis of a
lockup period that can be 2 years, 3 years, or 5 years (entered in B1). the
user will enter a date in the future (in cell C1), and a formula (in D1)
needs to be able to determine whether the funds are available. any help on
the formula would be highly appreciated. thanks!



  #6   Report Post  
JE McGimpsey
 
Posts: n/a
Default

If the lockup periods recur for eternity, what relevance does the date
in C1 have to funding?


In article ,
"darren16" wrote:

i may not have been specific enough. the lockup periods are recurring for
eternity (theoretically of course). for example, for the two year. i need
{T,T+2,T+4,T+6,...}

"JE McGimpsey" wrote:

If I understand you correctly:

D1: =IF(C1<=DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1)),"Funde d","Under-funded")


In article ,
"darren16" wrote:

i have a cell that contains a date (A1). this date forms the basis of a
lockup period that can be 2 years, 3 years, or 5 years (entered in B1).
the
user will enter a date in the future (in cell C1), and a formula (in D1)
needs to be able to determine whether the funds are available. any help
on
the formula would be highly appreciated. thanks!


  #7   Report Post  
darren16
 
Posts: n/a
Default

the date entered by the user is a question used to determine whether the
funds are available on any given year. For instance if A1 is year 2000, and
B1 is "every three years", a user may want to know whether the funds will be
availabe in 2005 (entered in C1). In this case, Excel would answer "No",
since the money is only avaible every three years (2003, 2006, 2009, 2012,
etc). I guess I could nest a bunch of "or" statements to go out 20 years or
so, but I was hoping to do it a better way.

"JE McGimpsey" wrote:

If the lockup periods recur for eternity, what relevance does the date
in C1 have to funding?


In article ,
"darren16" wrote:

i may not have been specific enough. the lockup periods are recurring for
eternity (theoretically of course). for example, for the two year. i need
{T,T+2,T+4,T+6,...}

"JE McGimpsey" wrote:

If I understand you correctly:

D1: =IF(C1<=DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1)),"Funde d","Under-funded")


In article ,
"darren16" wrote:

i have a cell that contains a date (A1). this date forms the basis of a
lockup period that can be 2 years, 3 years, or 5 years (entered in B1).
the
user will enter a date in the future (in cell C1), and a formula (in D1)
needs to be able to determine whether the funds are available. any help
on
the formula would be highly appreciated. thanks!


  #8   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Ah - your "lockup period" is actually a single year of a 2, 3, or 5-year
period, right? Your question makes more sense, now. one way:

=IF(MOD(YEAR(C1)-YEAR(A1), B1)=0, "Yes","No")






In article ,
"darren16" wrote:

the date entered by the user is a question used to determine whether the
funds are available on any given year. For instance if A1 is year 2000, and
B1 is "every three years", a user may want to know whether the funds will be
availabe in 2005 (entered in C1). In this case, Excel would answer "No",
since the money is only avaible every three years (2003, 2006, 2009, 2012,
etc). I guess I could nest a bunch of "or" statements to go out 20 years or
so, but I was hoping to do it a better way.

"JE McGimpsey" wrote:

If the lockup periods recur for eternity, what relevance does the date
in C1 have to funding?


In article ,
"darren16" wrote:

i may not have been specific enough. the lockup periods are recurring
for
eternity (theoretically of course). for example, for the two year. i
need
{T,T+2,T+4,T+6,...}

"JE McGimpsey" wrote:

If I understand you correctly:

D1:
=IF(C1<=DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1)),"Funde d","Under-funded")


In article ,
"darren16" wrote:

i have a cell that contains a date (A1). this date forms the basis
of a
lockup period that can be 2 years, 3 years, or 5 years (entered in
B1).
the
user will enter a date in the future (in cell C1), and a formula (in
D1)
needs to be able to determine whether the funds are available. any
help
on
the formula would be highly appreciated. thanks!


  #9   Report Post  
darren16
 
Posts: n/a
Default

that works perfect! thanks so much for your help!!!

"JE McGimpsey" wrote:

Ah - your "lockup period" is actually a single year of a 2, 3, or 5-year
period, right? Your question makes more sense, now. one way:

=IF(MOD(YEAR(C1)-YEAR(A1), B1)=0, "Yes","No")






In article ,
"darren16" wrote:

the date entered by the user is a question used to determine whether the
funds are available on any given year. For instance if A1 is year 2000, and
B1 is "every three years", a user may want to know whether the funds will be
availabe in 2005 (entered in C1). In this case, Excel would answer "No",
since the money is only avaible every three years (2003, 2006, 2009, 2012,
etc). I guess I could nest a bunch of "or" statements to go out 20 years or
so, but I was hoping to do it a better way.

"JE McGimpsey" wrote:

If the lockup periods recur for eternity, what relevance does the date
in C1 have to funding?


In article ,
"darren16" wrote:

i may not have been specific enough. the lockup periods are recurring
for
eternity (theoretically of course). for example, for the two year. i
need
{T,T+2,T+4,T+6,...}

"JE McGimpsey" wrote:

If I understand you correctly:

D1:
=IF(C1<=DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1)),"Funde d","Under-funded")


In article ,
"darren16" wrote:

i have a cell that contains a date (A1). this date forms the basis
of a
lockup period that can be 2 years, 3 years, or 5 years (entered in
B1).
the
user will enter a date in the future (in cell C1), and a formula (in
D1)
needs to be able to determine whether the funds are available. any
help
on
the formula would be highly appreciated. 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
excel calendar years whowatwerwyhow Excel Discussion (Misc queries) 1 May 16th 05 12:28 PM
excel calendar years whowatwerwyhow Excel Discussion (Misc queries) 0 May 16th 05 12:19 PM
Converting months to years kevin Excel Worksheet Functions 1 January 20th 05 01:28 PM
Help with Years of Service formula.... Wild Bill Excel Discussion (Misc queries) 1 December 6th 04 08:47 PM
How do I display months and years between two dates JSmith Excel Discussion (Misc queries) 1 November 30th 04 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"