+ Reply to Thread
Results 1 to 4 of 4

Have drop down list - Need to Change formulas based on drop down selected

  1. #1
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Have drop down list - Need to Change formulas based on drop down selected

    I have a file that calculates Cost / Sell price for 5 different shipping speeds, but only shows the information for the one speed that is selected.

    So rather than calculate in the background the 5 different speeds information, i am trying to make it ONLY do the one speed that has been selected from a drop down. (note: attached file only does calculation for 2 speeds, just to make things easier for now....)

    I can write this with if/then statements, but I know that it would take forever, not just to calculate but to create the formula... but I am sure that there is a better way to do this.

    test1.xlsx

    In order for the file to fit into the upload i had had to remove most of the formulas but i think you will get the point with what is here.

    Items that are in yellow are user input... everything else is to calculate behind the scenes.

    So basically what i think needs to happen is if AB12 = 3 Day, then

    Tariff goes to the table for 3 day, and pulls the appropriate number
    cost disc looks at cell c9
    sell disc looks at cell d9
    and the cost and sell price calculate based on the necessary formula

    which looks like:
    Please Login or Register  to view this content.
    Without using if/then statements, how do i get the tariff, cost disc, sell disc to change based off of the selection of ab14?

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Have drop down list - Need to Change formulas based on drop down selected

    As much i could understand, please use below formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Hope this will give your what you want. As the data C6:D10 in percentage format. You'll have need to change format in percentage.

    Thanks
    Ankur

  3. #3
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Re: Have drop down list - Need to Change formulas based on drop down selected

    WOW!

    Thank you!!!

    There are a couple of bugs... not sure now to work them out... BUT OMG you are AWESOME!

    I have uploaded where it is at now..... When the "shipping method" now in cell V12 is Next Day Air Saver or Next Day Air it is pulling the same values for teh Cost and Sell % ( i understand WHY it is doing that... but dont know how to change that part of it). I know that I can change the name of one of them, but I am trying to avoid that if possible.

    The Other issue comes with ground shipping.

    The sell/cost discounts are different depending on the weight of the shipment (there is a 1-5lb, 6-10, 11-30 and 31+ discount option). How should the sheet be coded so that it will automatically pull the correct rate for ground?

    Right now, it is set with if/then.... if 1<=weight<=5, then cost % = 6 for example.

    Thank you again for your help!!!
    Attached Files Attached Files

  4. #4
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Re: Have drop down list - Need to Change formulas based on drop down selected

    ::: removed :::
    Attached Images Attached Images

+ 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: 01-28-2015, 01:09 AM
  2. Replies: 5
    Last Post: 11-01-2014, 06:00 AM
  3. Copy row based on drop down list selected
    By joeycrak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2014, 05:27 PM
  4. How to display data based on a selected month from a drop-down list
    By Ahmed Ammar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2014, 09:24 PM
  5. Replies: 2
    Last Post: 02-19-2014, 05:14 PM
  6. Want picture to change based on value selected in drop down menu
    By omartin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2013, 05:38 PM
  7. Macro to Change a all selected to different spot in the drop down list?
    By KLT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2013, 07:51 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