Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 846
Default Counting # of monthly invoices

Hello,

I have a sales tracking sheet and it determines how many invoices will occur
in 2005 for an order. The problem I am having right now is counting the # of
monthly invoices that will occur. It seems simple, but its not working out
for me. Basically what my problem is for example March. if the order was
placed in March, there would be 10 invoices (one each for March through
December). However, if the order date becomes March 18th, it is only
reporting 9 months. I am using round function but to no avail. Any help is
appreciated. Below is my formula:

=IF(AND(N4="monthly",T438717),ROUND((38717-O4)/30.42,0),IF(AND(N4="monthly",T4<38717),ROUNDDOWN(( T4-O4)/30.42,0)

I'm sure there is a simple way. Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Counting # of monthly invoices

How about

=IF(N4="monthly",12-MONTH(T4)-(DAY(T4)17),"")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Brad" wrote in message
...
Hello,

I have a sales tracking sheet and it determines how many invoices will

occur
in 2005 for an order. The problem I am having right now is counting the #

of
monthly invoices that will occur. It seems simple, but its not working out
for me. Basically what my problem is for example March. if the order was
placed in March, there would be 10 invoices (one each for March through
December). However, if the order date becomes March 18th, it is only
reporting 9 months. I am using round function but to no avail. Any help is
appreciated. Below is my formula:


=IF(AND(N4="monthly",T438717),ROUND((38717-O4)/30.42,0),IF(AND(N4="monthly"
,T4<38717),ROUNDDOWN((T4-O4)/30.42,0)

I'm sure there is a simple way. Thanks.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Counting # of monthly invoices

As a start maybe something like:
=if(And(N4="Monthly",Year(T4)=2005),If(day(O4)<=15 ,13-Month(O4),12-Month(O4)
),0)



--
Regards,
Tom Ogilvy

"Brad" wrote in message
...
Hello,

I have a sales tracking sheet and it determines how many invoices will

occur
in 2005 for an order. The problem I am having right now is counting the #

of
monthly invoices that will occur. It seems simple, but its not working out
for me. Basically what my problem is for example March. if the order was
placed in March, there would be 10 invoices (one each for March through
December). However, if the order date becomes March 18th, it is only
reporting 9 months. I am using round function but to no avail. Any help is
appreciated. Below is my formula:


=IF(AND(N4="monthly",T438717),ROUND((38717-O4)/30.42,0),IF(AND(N4="monthly"
,T4<38717),ROUNDDOWN((T4-O4)/30.42,0)

I'm sure there is a simple way. 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
invoices tofimoon3 via OfficeKB.com New Users to Excel 6 March 25th 09 01:47 PM
Rolling Monthly Amounts to Annual Monthly Amounts RV Excel Discussion (Misc queries) 0 August 29th 06 04:56 PM
How do I set up monthly random work schedule for 60 hours monthly The Ace of the Base Excel Discussion (Misc queries) 0 April 4th 06 07:36 PM
best way to do invoices jtietz93 Excel Discussion (Misc queries) 2 February 10th 06 05:47 PM
Mortgage template comparing interest pd, monthly, bi-monthly, ext. JMC Excel Discussion (Misc queries) 0 April 14th 05 02:35 PM


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