Results 1 to 6 of 6

Thread: How formulas are calculated in Excel?

  1. #1
    Join Date
    Aug 2006
    Posts
    201

    How formulas are calculated in Excel?

    I have done the basic things of an Excel including the formulas. Now I am eager to know the logic of the calculations that are performed in MS Excel. I want to know that how to calculate formulas are made in different versions of Microsoft Excel. So thought to ask you people, since you explain properly in simple language.!! So please explain me how formulas are calculated in Excel?
    Don't be afraid of darkness, it's in your heart anyway.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,139

    Re: How formulas are calculated in Excel?

    In versions of Excel earlier than Excel 2002, calculation formulas are made on a leaf by leaf, starting with Sheet1 in your Excel workbook. After the calculations are completed in Sheet1, Excel calculates the formulas on Sheet2 sheet until all the formulas are calculated on all sheets in your workbook. This process works well as antecedents and are dependent on the same sheet. If the background and are dependent on different leaves, but leaf external references, this can cause problems.

  3. #3
    Join Date
    Aug 2006
    Posts
    222

    Re: How formulas are calculated in Excel?

    I think that you can understand the logic more better if you have a look at the following example :
    If the formula in Sheet1 A1 is = Sheet3 A4 + 1, both Sheet1 A1 and Sheet3 A4 does calculation. Start with the worksheet "Sheet1". When you try to calculate A1, you can not achieve because Sheet3 A4 has not yet calculated. More you can try calculating in Sheet1. When you are finished with Sheet1, Sheet2 calculate the sheet. Then calculate Sheet3, last updated Sheet3 A4.
    At this point, you press all the leaves. However, Sheet1 A1 still has not been calculated, then go above and start calculating Sheet1 again. Finally, Sheet1 A1 can be calculated. You loop over all the leaves want to calculate an arbitrary number of times, depending on the number sheet inter-dependencies are and how they are presented.
    Just a reply to say thank you for these links and posts I have a lot to read and learn now!



  4. #4
    Join Date
    Apr 2008
    Posts
    4,088

    Re: How formulas are calculated in Excel?

    In Excel 2002 and Excel 2003, a big list of history is preserved formulas for calculations. That is to say, all the formulas that are contained in your workbook are placed in memory as a continuous list of formulas. When you enter a new formula and it is fully determined for the first time it is placed in its correct location in the chain of calculation. Excel starts the task of calculation formulas from the top of the list. If a previous formula was calculated, Excel returns the list of formulas and calculates the formula dependent. Excel returns the formula and then finishes the previous calculation.

  5. #5
    Join Date
    Jan 2008
    Posts
    3,755

    Re: How formulas are calculated in Excel?

    Excel 2007 makes calculations of formulas as a set of functions. To optimize performance, all functions are aggregated into as few queries as possible. These requests are usually aggregated executed in the background when other Excel functions are inactive. In aggregated queries, a big list of history is preserved formulas for calculations. All functions are contained in your workbook are placed in memory as a continuous list of functions. When you enter a new formula in a workbook, the new formula is then calculated for the first time. When the new formula is calculated for the first time, Excel 2007 generates a set of functions that belong to the new formula, and then each function in the feature set is placed in its correct location in the chain of calculation.

  6. #6
    Join Date
    May 2008
    Posts
    390

    Re: How formulas are calculated in Excel?

    As the string calculation is being processed, each cell is evaluated. If a cell has no dependency on another function, the cell receives its value immediately. If the cell has a dependency on another function, the cell receives an error value placeholder # GETTING_DATA and then proceeds to calculate the next cell in the chain. Once all cells have been evaluated once, Excel 2007 triggers aggregation query or queries to extract necessary data. While the aggregate or requests are processed, cell awaiting data continues to display the error value placeholder # GETTING_DATA.

Similar Threads

  1. Is it possible to have Excel formatting and formulas in CSV
    By TheCarter in forum MS Office Support
    Replies: 2
    Last Post: 02-02-2012, 04:44 PM
  2. Formulas and functions of MS Excel 2010
    By VIP KING in forum Guides & Tutorials
    Replies: 17
    Last Post: 04-03-2011, 11:57 AM
  3. Important formulas used in Excel
    By JustNew in forum Windows Software
    Replies: 5
    Last Post: 24-01-2010, 12:41 AM
  4. How can i display Formulas in Excel column
    By Visala28 in forum Windows Software
    Replies: 3
    Last Post: 03-09-2009, 07:46 PM
  5. How can i hide formulas in MS Excel
    By Orton in forum Windows Software
    Replies: 3
    Last Post: 04-07-2009, 08:45 PM

Tags for this Thread

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
  •  
Page generated in 1,714,011,817.97546 seconds with 17 queries