Results 1 to 10 of 10

Insert Row Formula Strangeness

Threaded View

Cavar Insert Row Formula Strangeness 10-25-2006, 03:34 PM
Bryan Hessey I get a normal blank inserted... 10-25-2006, 11:09 PM
Cavar When you right click on row... 10-26-2006, 08:46 AM
Bryan Hessey As stated, no. What you... 10-26-2006, 08:56 AM
Cavar Sorry to keep going on about... 10-26-2006, 10:42 AM
  1. #1
    Registered User
    Join Date
    10-25-2006
    Posts
    5

    Question Insert Row Formula Strangeness

    I hope someone can help explain why this is happening and a way to resolve it.

    I am building an HTML file, using C#, representing budget data from a SQL database. The C# app calls a program called CZ Excel Converter, which uses Excel, to convert it to an XLS file. I have Excel 2003 installed. I have attached samples of both formats as well.

    There are two budget formats produced depending on user settings. In both of the example the # symbol represents the current row number.

    Format #1 (Annual) has a column (D) that contains the following formula, =SUM(E#:P#). Columns E-P are the cells where the user enters the monthly budget amounts and the sum column (D) is updated.

    Format #2 (Monthly) has a column (D) that the user enters the yearly budget and monthly columns (E-O) that have the following formula, =ROUND(D#/12,2), and the December column (P) has the following formula, =ROUND(D#-SUM(E#:O#).

    For both formats, each column has a SUM formula as the last row to total each month.

    Both of these formats work as intended, until I insert a new row and the formulas don't work as expected.

    When inserting a new row for the annual format by right clicking on any row between 7-13 and then entering in a value into any of the monthly columns (E-P) then only the total row for that column gets updated, not yearly budget cell (D) for the row.

    When inserting a new row for the monthly format by right clicking on any row between 7-10 and then entering in a value into the yearly budget cell (D) for the row, then only the total cell for that column gets updated, but none of the monthly columns are. However, if you do the same thing on rows 11-13, then everything works as intended.

    Another strange thing, and this may happen to just me, is that if I insert a new row by right clicking on row 13 and then enter in the yearly budget, then the montly column amounts are populated correctly as are the monthly total cells, but the formula seem to run slower and I can actually see each monthly cell highlight instead of it happening instantly if I did the same thing on row 12.

    On a side note, if I try to reproduce the budget spreadsheet manually, then none of the inserted row formulas work for either format.

    I know this is a lot to take in and all this may be caused by the CZ Excel Converter program, but if anyone can help I would appreciate it.

    Thanks,
    CT
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1