+ Reply to Thread
Results 1 to 2 of 2

values needed to calculate one another

  1. #1
    Registered User
    Join Date
    05-19-2010
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    9

    values needed to calculate one another

    Hi,

    I'm creating a web application based on an excel spreadsheet.

    H42 =+(H33+H35+H36+H37+H38+H39+H40+H41+H44)*Input!G101*Input!G103
    H44 =+(H43+H42+H41+H40+H39+H38+H37+H36+H35+H33)*0.004

    H42 gives an answer of 616,356
    H44 gives an answer of 251,991

    as you can see H42 and H44 are needed to calculate one another, how can I do this in programming?

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: values needed to calculate one another

    Jellybeannn,

    this is a circular reference. You can allow it, but it begs the question: Why?

    Can you explain in context what the logic is? By the way, your formulas can be shortened to

    H42 =(H33+Sum(H35:H41)+H44)*Input!G101*Input!G103
    H44 =(sum(H35:H43)+H33)*0.004

    ... and in Excel you start the formula with just the = sign. The + sign is not required.

+ Reply to Thread

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