+ Reply to Thread
Results 1 to 2 of 2

Issue with Nested IF OR statements when outputting from drop-down list selections 4 quotes

  1. #1
    Registered User
    Join Date
    02-13-2018
    Location
    Perth
    MS-Off Ver
    2016
    Posts
    1

    Question Issue with Nested IF OR statements when outputting from drop-down list selections 4 quotes

    Hello Forum

    Im not a excel guru so this may not be best practice, however:

    I work in a sales team and want to create a calculation for a pricing based on drop down list results.

    The product has 3 categories Standard, Pro Business
    Each category has 4 sub categories, each have a different monthly and upfront cost

    Product
    A
    B
    C

    Sub_Cat
    A
    B
    C
    D

    Depending on which product and sub_cat is selected will display the monthly pricing in a cell from a list of pricing and the upfront cost of the respective selection in another cell.

    I have IF(B5=I10,J10, IF(B5=I11,J11, IF(B5=I12,J12))) however this only covers the output of product A and the various pricing of sub_cat a, b, c. I think I need nested OR formulas as well.
    B5 – pick your product
    I10 – first on sub category list
    Or if
    Pick your category = Product B and sub category a, b, c or d. print the corresponding cell containing the respective price.



    Ive tested this which results in a #value error but think that I might be going about this wrong. =IF(AND(B5=I10,B8=H9),J10 IF(AND(B5=I11,B8=H9),J11))

    I want to the formula to look like

    IF Product_A AND Sub_Cat_A is selected in the drop down list – output monthly cost A
    OR IF
    Product_B AND Sub_Cat A is select – output monthly cost in this cell and upfront cost in this cell
    OR IF
    P_A AND SC_C
    OR IF
    P_C AND SC_A

    For all the different options.

    Thank you

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

    Re: Issue with Nested IF OR statements when outputting from drop-down list selections 4 qu

    On another sheet (Sheet2 ?) create a table with 3 columns
    Column A - Products
    Column B - Sub Categories
    Column C - Costs

    So you should have a table with all the combinations for each product/sub category and cost for each combination

    To get the cost

    =LOOKUP(2,1/(B5=Sheet2!A$1:A$1000)*(I10=Sheet2!B$1:B$1000),(Sheet2!C$1:C$1000))
    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.

+ 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. Dependent Hierarchical Drop Down List with more than 7 Nested IF Statements
    By qanjorin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-17-2016, 08:16 AM
  2. Replies: 1
    Last Post: 09-25-2013, 02:35 PM
  3. Combining selections from drop-down lists into a separate drop-down list
    By SCIFINUT in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-27-2012, 05:41 PM
  4. Drop-Down List Selections
    By b.delinski.01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-08-2011, 06:01 PM
  5. List Box Selections Outputting Multiple Selections with One Click
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-21-2011, 12:27 PM
  6. Issue with too many nested IF statements
    By sjak in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-05-2008, 03:13 PM
  7. Drop Down List Selections
    By Spencer in forum Excel General
    Replies: 3
    Last Post: 10-25-2007, 10:02 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