#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Help with formula

=IF(TODAY()-B16<90,0,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5) This
formula works good except for one final thing! Since B16 is the actual start
date, and less than 90 days = 0 days accured, but 90 days = accural rate of
0.0274 up untill January 1 the following year, then it's 10 days. Here is my
problem... I can't figure out how to use the accural rate just untill January
1st rolls around then stopping accural time and changing results to 10.
Thanks so much! It is above and beyond me!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 341
Default Help with formula

Richard,

This should be easy to solve but you are going to have to make it clear
under what circumstances you want to return the value 10. That was not very
clear from your message.

Try to think about it like this and get it completely separate in your
brain, before you start writing the formula:

1) IF the gap from today to the end of the year is less than 90 days THEN
take the value 0.

2) Otherwise, IF (under what circumstances???) THEN the value should be 10.

3) Otherwise, IF the gap from today to the end of the year is 90 days THEN
multiply the number of days remaining this year by 0.0274 and add 0.5.

The nested IF formula will look something like this:
=IF(TODAY()-B16<90,0,IF([YOUR NEW
CONDITION],10,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5))

HTH
--
Allllen


"Richard" wrote:

=IF(TODAY()-B16<90,0,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5) This
formula works good except for one final thing! Since B16 is the actual start
date, and less than 90 days = 0 days accured, but 90 days = accural rate of
0.0274 up untill January 1 the following year, then it's 10 days. Here is my
problem... I can't figure out how to use the accural rate just untill January
1st rolls around then stopping accural time and changing results to 10.
Thanks so much! It is above and beyond me!!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 341
Default Help with formula

Richard,

Sorry I totally confused myself as well. I meant

1) IF the gap from B16 to today less than 90 days THEN take the value 0.

2) Otherwise, IF (under what circumstances???) THEN the value should be 10.

3) Otherwise, multiply the number of days between B16 and the end of the
year by 0.0274 and add 0.5.

The nested IF formula will look something like this:
=IF(TODAY()-B16<90,0,IF([YOUR NEW
CONDITION],10,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5))

HTH
--
Allllen

--
Allllen


"Allllen" wrote:

Richard,

This should be easy to solve but you are going to have to make it clear
under what circumstances you want to return the value 10. That was not very
clear from your message.

Try to think about it like this and get it completely separate in your
brain, before you start writing the formula:

1) IF the gap from today to the end of the year is less than 90 days THEN
take the value 0.

2) Otherwise, IF (under what circumstances???) THEN the value should be 10.

3) Otherwise, IF the gap from today to the end of the year is 90 days THEN
multiply the number of days remaining this year by 0.0274 and add 0.5.

The nested IF formula will look something like this:
=IF(TODAY()-B16<90,0,IF([YOUR NEW
CONDITION],10,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5))

HTH
--
Allllen


"Richard" wrote:

=IF(TODAY()-B16<90,0,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5) This
formula works good except for one final thing! Since B16 is the actual start
date, and less than 90 days = 0 days accured, but 90 days = accural rate of
0.0274 up untill January 1 the following year, then it's 10 days. Here is my
problem... I can't figure out how to use the accural rate just untill January
1st rolls around then stopping accural time and changing results to 10.
Thanks so much! It is above and beyond me!!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Help with formula



"Allllen" wrote:

Richard,

This should be easy to solve but you are going to have to make it clear
under what circumstances you want to return the value 10. That was not very
clear from your message.

Try to think about it like this and get it completely separate in your
brain, before you start writing the formula:

1) IF the gap from today to the end of the year is less than 90 days THEN
take the value 0.

2) Otherwise, IF (under what circumstances???) THEN the value should be 10.

3) Otherwise, IF the gap from today to the end of the year is 90 days THEN
multiply the number of days remaining this year by 0.0274 and add 0.5.

The nested IF formula will look something like this:
=IF(TODAY()-B16<90,0,IF([YOUR NEW
CONDITION],10,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5))

HTH
--
Allllen


"Richard" wrote:

=IF(TODAY()-B16<90,0,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5) This
formula works good except for one final thing! Since B16 is the actual start
date, and less than 90 days = 0 days accured, but 90 days = accural rate of
0.0274 up untill January 1 the following year, then it's 10 days. Here is my
problem... I can't figure out how to use the accural rate just untill January
1st rolls around then stopping accural time and changing results to 10.
Thanks so much! It is above and beyond me!!!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Help with formula

Up untill January 1st. then 10

"Allllen" wrote:

Richard,

This should be easy to solve but you are going to have to make it clear
under what circumstances you want to return the value 10. That was not very
clear from your message.

Try to think about it like this and get it completely separate in your
brain, before you start writing the formula:

1) IF the gap from today to the end of the year is less than 90 days THEN
take the value 0.

2) Otherwise, IF (under what circumstances???) THEN the value should be 10.

3) Otherwise, IF the gap from today to the end of the year is 90 days THEN
multiply the number of days remaining this year by 0.0274 and add 0.5.

The nested IF formula will look something like this:
=IF(TODAY()-B16<90,0,IF([YOUR NEW
CONDITION],10,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5))

HTH
--
Allllen


"Richard" wrote:

=IF(TODAY()-B16<90,0,INT((DATE(YEAR(B16),12,31)-B16)*0.0274)+0.5) This
formula works good except for one final thing! Since B16 is the actual start
date, and less than 90 days = 0 days accured, but 90 days = accural rate of
0.0274 up untill January 1 the following year, then it's 10 days. Here is my
problem... I can't figure out how to use the accural rate just untill January
1st rolls around then stopping accural time and changing results to 10.
Thanks so much! It is above and beyond me!!!



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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 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 12:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"