A Spreadsheet Application

Author(s): Dick Wagner
Publication: The Plotter
Pub Details: The Plotter v12 n11 (Volume 12, Issue 11)
Date: November 1994
Pages: 5-6

While my comments pertain to the spreadsheet, AS-EASY-AS V5.5, a MSDOS type shareware program, I am sure there are other spreadsheets in use that are similar.

I had a need for a way to calculate a weekly payroll and withholdings for a caregiver for my invalided wife. I am making appropriate federal and state income tax withholdings as well as medicare and social security. My preferance was to have the computer make all calculations from the number of hours worked per week so I would eliminate my error-prone calculations and improper. reading of withholding tables.

Having obtained detailed information on the appropriate formulas, I considered I could use these in the spreadsheet. Both the federal and state have income ranges so the formulas had to have limits as well as less than taxable income situations. Of course, Oregon State is different than the federal method so formulas had to be carefully converted to the spreadsheet format. Also some calculations had to be rounded to the nearest cent and one to the nearest dollar. I found that the results from using the formulas did not always correspond to the tables but were within one dollar. The Internal Revenue manual indicated that the formula results would not necessaruly be identical to the tables.

After a lot of formula testing I was able to arrive at a net weekly pay and the appropriate withholdings. In a year there will be about 40-50 lines of input and calculations. A permanent record is printed each week and the latest printout includes all previous weeks so only one hard copy is necessary for the file.

I provide a suitable pay record for the care giver. At first I developed a QBASIC program that accepted my data. This included date, day hours worked, night hours worked, gross pay, various withholdings and net pay. This requires an explanation as the night hours worked is a special consideration. The desired working hours originally were 8:00 AM to 2:00 PM, amd 7:30 to 8:30 PM. As the helper prefers to limit her night hours she actually puts in about a half an hour. So I essentially pay her for her travel time, making a minimum of one hour. I also had to allow for flexible time as sometimes I would be away and could not return by 2:00 PM. Also there were week ends when I would need a few hours of help. These things made a complicated QBASIC program to produce a weekly record for the worker.

AS-EASY-AS includes a simple word processor that seemed useable to generate a report. I found that when the text was completed, ENTER sent it to the spread sheet starting at the top left corner of the text where ever the cursur was located. This made it possible to format the report so a right hand column would be reserved for my inputs.This column works just like any other column, accepting data either from the spread sheet calculations or from direct input. All of this made it easy and reduced possible errors in transcribing data.

Printing is very easy. I simply set up the range of columns and rows for printing the spread sheet calculations and results. Then I again set up the range for the report and print it on a separate sheet.

All of this really simplifies the records. I have a hand written original daily record of the hours worked each day. At the end of the work week this is used to input the day hours worked and the night hours worked. I have to convert the night hours worked to full hours. The computer calculates all of the results from this raw data.

For this report data, I found I only needed to copy the column/rows of each cell I wanted to input into the report. This is a manual operation. I have a reference column outside of the report that displays the appropriate column for each report feature. Columns are variable while row is constant for each week’s calculation. By making text of each row item used in the report, this part remains constant much as a form and the results are changed for each report. One line is used for each report item, such as State Withholding, etc. The following copy of a report shows the results.

                DICK F. WAGNER

     NAME--
     ADDRESS--
     SOCIAL SECURITY #--

                                           ---------
     DATE OF THIS PAY PERIOD               10/10/1994
     TOTAL OF DAYTIME HOURS WORKED            24.00
     NIGHT HOURS WORKED                        2.25
     TOTAL HOURS WORKED                       28.00
     PAY, GROSS                              224.00
     FEDERAL WITHHOLDING                      15.00
     SOCIAL SECURITY WITHHOLDING              13.89
     MEDICARE WITHHOLDING                      3.25
     OREGON STATE WITHHOLDING                 10.78
     TOTAL WITHHOLDING                        42.92
     NET PAY                                 181.08