LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Need help with formula


Hello Les,

You are using 30 days to represent a month but, of course, not all
months have 30 days. This is why you have a discrepancy in the count.
Try using DATEDIF to count the number of months, e.g.

=DATEDIF(TODAY,Q30,"m")+1

that will give 1 when Q30=TODAY and should also give the correct result
when Q30 is 20th Sept 2002.

Clearly you will need to change your other formulas accordingly

Be careful if the payment date is late in the month. If Q30 is 31st
January, for instance, then formula won't count 2 payments until 1st
March


--
barry houdini
------------------------------------------------------------------------
barry houdini's Profile: http://www.thecodecage.com/forumz/member.php?userid=72
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=44467

 
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



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