Keep track of your debtors with this spreadsheet project by Helen Bradley. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() Figure 1b: This month's worksheet allows you to record details of outstanding invoices and analyse the age of these debts. You will find examples of this in both Excel and Lotus 123 formats in the \INTERACT\DEBTORS folder on the the CD. |
The basic
worksheet is shown in Figure 1b. Its layout is simple but underneath you'll find two
powerful functions -- a horizontal lookup table and the SUMIF function -- which make the
calculations for you. Although some of the formulae are specific to Excel, you can create the worksheet in Lotus too, and the box 'Lotus 97' explains the differences in the Lotus version. Step 1: On a blank worksheet, add this data to the listed cells:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() Figure 2b: Your worksheet should resemble this one when you have completed Step 2 of our instructions. |
Step 2: Copy the formula from cell E8 to cells E9:E200
and from G7 to cells G8:G200. This gives you room for 193 detail lines which should be
sufficient for most businesses. Your worksheet should look like the one in Figure 2b. Step 3: Enter this data into the named cells to test the worksheet:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() Figure 3b: This is the Invoice worksheet with the sample data in Lotus. The actual ages of each debt will depend on the current system date on you computer. |
With this data entered your worksheet should look something like the one
in Figure 3b. Note, though, that the actual length of time an account has been outstanding
will depend on the date you're looking at the worksheet because this information is
updated daily. Step 4: You can add a warning to cell F4 which will check to see if you have entered an incorrect letter into any cell in column F or, worse still, a space. Key this formula into cell F4: =IF(COUNTIF(F7:F200,"<y")<>0,"Warning! Check Paid column",""). Format this cell in bold red type using Format, Cells and the Font tab. If everything is okay, you won't see anything in cell F4, however, if you enter a letter other than 'y' or a space in one of the cells in column F, you'll see the warning appear. Step 5: Hide the numbers in row 2 by selecting the row number and then Format, Row, Hide. The numbers in this row are used only for reference by the HLOOKUP function and don't need to be visible. Step 6: Format your worksheet attractively, making the data cells in columns C, D and E and in row 4 display numbers to two decimal places. Format all the way down to row 200 as there are formulae in all these cells. Remove your sample data and save the worksheet.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Using the worksheet You can use this worksheet in one of two ways. You may choose to have one worksheet for each debtor, in which case you will need to prepare this worksheet and then copy it using Edit, Move or Copy sheet to create one worksheet for each of your debtors. In this case, renaming each worksheet to the name of the debtor is a good idea; do this by double-clicking on each worksheet tab and typing the debtor's name. Alternately, you may choose to have one worksheet and to enter details of all your clients' invoices and payments into the one sheet. This way the sheet will give you a summary of all the money you are owed and a breakdown of the aging of these debts. For each invoice include the date of the invoice, some identifying details and the Invoice amount. As each invoice is paid, record the payment details (date, details and payment) on a separate line and add a 'y' to the 'Paid' column opposite the invoice that the payment relates to. When you have entered your invoice details, the last figure in the balance column will show you the current status of the debtor, or the total of your outstanding debtors, depending on how you are using the worksheet. The information at the top of the worksheet shows the relative ages of the debts.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
How it works The formulae in column E calculate the running balance by taking the total from the previous line and adding any Invoices and deducting any payments. The IF function merely tidies up the display by hiding the result if there's no value in the Invoice or Payment column. The formulae in column G are more complex; they calculate the age of the debt by deducting the date of the invoice from your computer's system date. The number of days is passed to the HLOOKUP function which uses the table in the range A2:E3 and compares the number of days with the figures in row 2 to find the largest value that is less than that number of days. It then returns the corresponding value in row 3. So, if the debt is 0-29 days old, the value 'Current' is returned, if the debt is 30-59 days old the value '30 Days' is returned and so on. The IF part of this formula is there to neaten the display, it stops the calculations being made if the Invoice is paid or if there's no value in the Amount column. The formulae in row 4 use a SUMIF function to add the values in the Invoice column only for certain criteria. The formula in cell A4 adds only those Invoice amounts for invoices that have 'Current' as the entry in column G, the formula in cell B4 adds only those Invoice amounts for invoices that have '30 Days' as the entry in column G etc. The syntax of the SUMIF function is =SUMIF(range to analyse,criteria,range to sum), so the formula in cell A4: A4 =SUMIF($G$7:$G$200,"=Current",$C$7:$C$200) translates as, sum the values in the range C7:C200 for those rows where the corresponding entry in column G is equal to 'Current'. Finally, the formula in cell F4 uses the COUNTIF function which is similar to SUMIF. This counts the values in column F to see how many are less than 'y'. So if you've entered any alphabetical character (other than y and z) in column F or you've pressed the space bar, then the warning will display. This formula is very 'quick and dirty', it won't trap everything but it will catch the worst of your errors.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Lotus 97 This worksheet can be easily created in Lotus 1-2-3. There are some differences in formulae, but the steps for creating it and the logic of how the worksheet functions are similar. Lotus, however, doesn't have a SUMIF or COUNTIF function, so the DSUM and DCOUNT functions have been used instead. These functions require you to have a named area on your worksheet, so select the range A6:G200 and use Range, Name and name this area INVOICEDATA. The other significant alteration is a rewrite of the formula in cell G7 to overcome Lotus' somewhat twisted logic that says that A=blank, B=blank but A<>B. Using the @ISSTRING function overcomes these difficulties.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
|