+ Reply to Thread
Results 1 to 5 of 5

Multiple "IF" commands with different formulas calling from a Table.

Hybrid View

  1. #1
    Registered User
    Join Date
    09-28-2007
    Posts
    3

    Multiple "IF" commands with different formulas calling from a Table.

    Need some help with this one..

    I need the Agent portion to update with the Plan ID and use the formula that corresponds to the Plan. This is only a partial list of the PLans. (I have 23) I want to managers to put in the PLAN ID and it looks up the proper formula and uses the Gross REV number to give the portion that is paid to the sales person..

    I hope I am explaining this properly. I have attached the file in 2007 and 97-2003 versions...

    If there is an easier way to do this please do tell.

    Help.xls

    Help.xlsx


    Thanks,

    Waylander
    Last edited by Wayland3r; 11-11-2008 at 06:56 PM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi and welcome to the board
    Please take a moment to read the forum rules and amend your title accordingly

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    You can add a helper column to make it easier


    
    I22=IF($J$22>=H22,MIN(H22-H21,$J$22-H21),"")
    THEN COPY DOWN
    then you can use sumproduct to get the agent portion
    I need your support to add reputations if my solution works.


  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Thx for adapting your title

  5. #5
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re:Multiple "IF" commands with different formulas calling from a Table

    I do not know if it helps you, but I reduced your formula
    =IF(I22<30000,I22*50%,15000)+IF(I22>65000,21000,IF(I22>30000,(I22-30000)*60%,0))+IF(I22>85000,14000,IF(I22>65000,(I22-65000)*70%,0))+IF(I22>100000,11250,IF(I22>85000,(I22-85000)*0.75,0))+IF(I22>100000,(I22-100000)*0.9,0)
    into
    =SUMPRODUCT(IF($I$22>F22:F26,(IF(I22>H22:H26,H22:H26,I22)-F22:F26)*E22:E26))
    See the attachement
    Attached Files Attached Files
    Last edited by rwgrietveld; 11-12-2008 at 05:52 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

+ 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