+ Reply to Thread
Results 1 to 3 of 3

nested IF calculation

Hybrid View

  1. #1
    Registered User
    Join Date
    11-06-2011
    Location
    Cambodia
    MS-Off Ver
    Excel 2007
    Posts
    2

    nested IF calculation

    I am trying to make a formula in column D that tests a column of data points (A) against a range (B) and then uses a multiplier (C) to get a result while adding to it ranges/results below the value of that data point. For example attached in file Book2.xls, the data point 15.34 is between 11.674 and 17.96. Therefore the answer I want is (8.98*.122) + (11.674-8.98)*.139 + (15.34-11.674)*.302 = 2.577. For the data point 6.32, then it is simply 6.32*.122= .771. I think I need to use nested IF's but not sure how?
    Attached Files Attached Files
    Last edited by DonkeyOte; 11-06-2011 at 04:10 AM. Reason: modified title slightly

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Need help on nested IF?

    For multi tiered calculations like this a table with incremental rates allows for standard SUMPRODUCT based approach.

    Your Range values should become the "low" point (rather than the high) and it would make sense to store the marginal multiplier for sake of simplicity.

    Given modifications required to your original file I have posted a further sample with proposed solution in place.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-06-2011
    Location
    Cambodia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need help on nested IF?

    Worked Great! Thanks very much

+ 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