+ Reply to Thread
Results 1 to 7 of 7

Drop down list which changes criteria

  1. #1
    Registered User
    Join Date
    05-21-2012
    Location
    suffolk
    MS-Off Ver
    Excel 2007
    Posts
    6

    Drop down list which changes criteria

    I have been struggling for a while to get to grips with this problem I have been having.

    I am trying to create a formula that will deduct certain amounts from a cell depending on what is selected in a drop down box.

    For example:

    If option A is selected deduct X amount from cell A2 however if option B is selected deduct Y amount, etc....

    This will be needed to be done to a long list as well each with the same formula.

    I have tried IF formulas but can not get one to work. I have attached a test copy of what I am trying to do and I hope it is clear.

    Any help or guidance would be much appreciated.

    Thanks

    TEST.xlsx
    Last edited by finbow1990; 05-21-2012 at 09:51 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Need a solution

    Forum Rules
    Please read and adhere to these simple rules!

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more days have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.

  3. #3
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Need a solution

    Hi, I think you need to attach the file again. The one posted above doesn't open.

    S.

  4. #4
    Registered User
    Join Date
    05-21-2012
    Location
    suffolk
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Need a solution

    I have attached the file again. It works when I try downloading off another computer.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Drop down list which changes criteria

    Hi

    You mean something like this in C3 and copy down?

    =IF($A$1="a";A9-$F$1;IF($A$1="b";A9-$F$2;IF($A$1="c";A9-$F$3;A9-$F$4)))

    Change the semi colons in my formula to comma, if you have to do this.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Registered User
    Join Date
    05-21-2012
    Location
    suffolk
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Drop down list which changes criteria

    thanks that seems to have worked.

    thank you.

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Drop down list which changes criteria

    You are welcome.

    Pls, mark your thread, as Solved(Look at the top of the page, to see how to do this)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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