+ Reply to Thread
Results 1 to 3 of 3

Can you use multiple "AND" in a formula to sort through multiple variable combinations???

  1. #1
    Registered User
    Join Date
    02-03-2020
    Location
    Australia
    MS-Off Ver
    365
    Posts
    2

    Can you use multiple "AND" in a formula to sort through multiple variable combinations???

    Hi,
    I am trying to create a commission calculator based on a number of variable factors:
    1) If the Broker Commission (Column F) is either (variable 1) $0, or (variable 2) an actual $ amount
    2) If the Revenue Type (Column D) is either (variable 3) "IAF", or (variable 4) "Commission"

    Depending on combination of these 4 variables I need the formula in Column G to be as follows:

    Combination of Variable 1 & Variable 3
    If Column F is $0 and Column D is "IAF" then the formula should be E*0.84

    Combination of Variable 2 and Variable 3
    If Column F contains a $ amount and Column D is "IAF" then the formula should be (E-F)*0.84

    Combination of Variable 1 and Variable 4
    If Column F is $0 and Column D is "Commission" then the formula should be (E*0.66)*0.84

    Combination of Variable 2 and Variable 4
    If Column F contains a $ amount and Column D is "Commission" then the formula should be ((E*0.66)*0.9)*0.84

    All the examples in the attached image are correct (Row 3,4,5,6) as I have just used basic formulas to ensure the above formulas are correct for each combination... its just amalgamating these 4 combinations of Column G into a single formula that works no matter what the combination of variables is that is beyond me.

    I have tried (see my formula in the text box) in what I hoped would be correct in Row 8 with "AND" function/s but nothing worked. If all is working then G8 should read $498.96.

    Appreciate any help possible

    Capture.JPG

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Can you use multiple "AND" in a formula to sort through multiple variable combinations

    This can be summarised as

    =IF(D3="IAF",(E3-F3)*0.84,IF(D3="Commission",E3*0.66*(IF(F3<>0,0.09,1)*0.84)))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    02-03-2020
    Location
    Australia
    MS-Off Ver
    365
    Posts
    2

    Re: Can you use multiple "AND" in a formula to sort through multiple variable combinations

    Thanks heaps Special-K.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 09-06-2005, 12:05 PM
  2. Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  3. Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  4. Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  5. Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  6. Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. Replies: 1
    Last Post: 07-08-2005, 11:05 PM

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