+ Reply to Thread
Results 1 to 3 of 3

Trouble with If Then Equation that has multiple steps.

  1. #1
    Registered User
    Join Date
    02-18-2013
    Location
    Seattle, WA
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Trouble with If Then Equation that has multiple steps.

    I'm trying to create an If Then equation so that depending on the value in a cell it will update the value of another cell accordingly. The formula I created doesn't work which is =IF(A86<=10,30,IF(A86<=40,IF(A86<=100,50,60))).

    If cell A86 is less then or equal to 10 then Cell F23 generates the value 30% but if A86 is greater then 10 then cell F23 can generate the following values based on the value in cell A86. If cell A86 is less then or equal to 40 then Cell F23 generates the value 40%, if not then If cell A86 is less then or equal to 100 then Cell F23 generates the value 50, if not then the value in cell F23 is 60%.

    Have attached our tiered pricing structure below to shed some more light on what I am doing. Total quantities of the products ordered are added up and displayed in cell A86, depending on the value in cell A86 cell F23 display either 30, 40, 50, or 60 percent.

    Tier 1 – When you order 10 products or less you are able to purchase the products at 30% off of the MSRP value.
    Tier 2 – When you order 40 products or less you are able to purchase the products at 40% off of the MSRP value.
    Tier 3 – When you order 100 products or less you are able to purchase the products at 50% off of the MSRP value.
    Tier 4 – When you order 101 products or more you are able to purchase the products at 60% off of the MSRP value.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Trouble with If Then Equation that has multiple steps.

    You were so close!

    =if(a86<=10,30,if(a86<=40,40,if(a86<=100,50,60)))

    If you want to be really fancy, you could even do:

    =TEXT(IF(A86<=10,30%,IF(A86<=40,40%,IF(A86<=100,50%,60%))),"00%")
    Last edited by daffodil11; 08-27-2013 at 05:58 PM. Reason: Let's get fancy

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble with If Then Equation that has multiple steps.

    An alternative to using nested IF statements:

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


    If you want the % sign:

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


    OR

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    formatted as Percentage.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Polynomial Trendline Equation Trouble
    By maribeth721 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2013, 05:16 PM
  2. Replies: 1
    Last Post: 04-06-2012, 05:16 AM
  3. Sorting and Matching Two Columns in Multiple Steps
    By macfarlane.a in forum Excel General
    Replies: 2
    Last Post: 10-26-2010, 08:39 PM
  4. Polynomial Trendline Equation Trouble
    By Medusa in forum Excel General
    Replies: 5
    Last Post: 04-02-2009, 06:30 PM
  5. Supress display of multiple steps in Macro
    By MicroMain in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-18-2006, 12:20 AM

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