+ Reply to Thread
Results 1 to 7 of 7

Calculating formulas according to dropdown list choices

  1. #1
    Registered User
    Join Date
    04-23-2019
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    3

    Calculating formulas according to dropdown list choices

    Hi guys,
    I hope someone can help.

    I am trying to add formula calculations to a spreadsheet based on different commission rates- I have a dropdown list for 'operators' and each operator has a different commission percentage.
    So if cell c3 says 'A' then I want it to calculate one formula, if it says 'B' then I want it to calculate a different one, etc etc. Formulas are just percentages of different cells.
    Ive tried doing IF formulas but I'm getting in a muddle and can't get it to work, it keeps returning errors.

    Can anyone help me???

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: Calculating formulas according to dropdown list choices

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Calculating formulas according to dropdown list choices

    Hello & Welcome to the Forum,

    A possible solution >> =IFERROR(CHOOSE(MATCH(C3,{"A","B","C","D"},0),A1*20%,B1*55%,C1*10%,D1*23%),"")

    But not knowing what the different formulas are, it's only a guess.
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    04-23-2019
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Calculating formulas according to dropdown list choices

    Thanks for the responses.
    Ok, Ive attached a sample file with some made up figures in it but these should show what I need.

    So, different operators have different commission agreements, but we may have lots of events with each operator so I just need to be able to select the operator and have it calculate the commission due automatically.

    The only formula I haven't worked out yet is how to get the 'if x is less than 400, then £400.
    Attached Files Attached Files

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Calculating formulas according to dropdown list choices

    =CHOOSE(MATCH(B3,{"FESTIVAL OPERATOR A","FESTIVAL OPERATOR B","VENUE A","VENUE B"},0),C3*40%,C3*7%,F3*17.5%,MAX(400,F3*20%))
    Try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Registered User
    Join Date
    04-23-2019
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Calculating formulas according to dropdown list choices

    That seems to work, wonderful! Thanks so much.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: Calculating formulas according to dropdown list choices

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Let dropdown list width expand beyond width of column so people can read answer choices?
    By xdrenched in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-15-2023, 02:05 AM
  2. Need to auto populate cells based on dropdown list choices
    By kpritc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-27-2017, 05:08 PM
  3. Dropdown choices summary
    By Rangars23 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-22-2012, 05:15 PM
  4. Drop-down list choices restricting choices of other lists?
    By not_quite_excelling in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2011, 06:04 AM
  5. Trying to use formulas incorporating dropdown list
    By UK-Cobra in forum Excel General
    Replies: 6
    Last Post: 03-02-2011, 02:25 PM
  6. [SOLVED] Autofil color to a row from dropdown list choices
    By Alesia in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-04-2005, 08:06 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