Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Am currently trying to write a custom function for aging of my
invoices which will be used in a macro in my Debtor statement report - but it's not working as it looks to simple to be good. Can anybody help thxs. Function Age(StatementDate, InvDate) If StatementDate - InvDate <= 30 Then Age = "Current" If StatementDate - InvDate = 30 Then Age = "30 days" If StatementDate - InvDate = 60 Then Age = "60 days" If StatementDate - InvDate = 90 Then Age = "90 days" If StatementDate = 150 Then Age = "150 days" End Function StatementDate & Invdate are in date format. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
invoice toolbar for invoice calcuation and assign number | Excel Discussion (Misc queries) | |||
Using SUMIF function with multiple criteria for Aging | Excel Worksheet Functions | |||
missing invoice toolbar when save customised invoice | New Users to Excel | |||
Invoice templet Excel97 to 2003 invoice toolbar missing | Excel Discussion (Misc queries) | |||
How do I change the invoice number assigned in Invoice template... | Excel Discussion (Misc queries) |