+ Reply to Thread
Results 1 to 2 of 2

Creating and IF statement using price and percentage ranges

  1. #1
    Registered User
    Join Date
    12-06-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Creating and IF statement using price and percentage ranges

    I am trying to figure out the best why to create an 'IF' statement to see if a data price point falls under the appropriate price range based off the percentage

    So here is the table i am going off of

    Percentage Range Price Range
    >90% $68.00 - $70.00
    80-89% $69.00 - $71.00
    70-79% $70.00 - $72.00
    60-69% $71.00 - $73.00
    <60% $75.00

    So, >90% needs a price in the range of $68-$70 to be a true statement

    How do i create a formula to figure this out?

    For Example:

    This is a True Statement
    Let's call cell A2) 60%
    Let's call cell B2) $71.00

    This is a False Statement
    Let's call cell A2) 60%
    Let's call cell B2) $69.00

    Does this make sense? Thanks in advance!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Creating and IF statement using price and percentage ranges

    I would do that somethbing like this, using a table of values....

    A
    B
    C
    D
    2
    0.6
    69
    0
    75
    3
    FALSE
    60%
    71
    4
    70%
    70
    5
    80%
    69
    6
    100%
    68


    A3=VLOOKUP($A$2,$C$2:$D$6,2,0)=B2

    You will probably need to fiddle with the "=B2" part to get the answer you need
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Excel 2003 - Creating Named ranges for a validation list box using a case statement
    By DebbieEdwards in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-17-2013, 08:43 AM
  2. calculate price between max and min price using percentage number
    By pzouboul in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2013, 05:59 PM
  3. add percentage to price column
    By pageblair in forum Excel General
    Replies: 1
    Last Post: 03-26-2011, 05:11 PM
  4. Question abuot creating a price quote from a long price list
    By glennchung in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-02-2009, 03:49 PM
  5. Excel 2007 : Percentage above price or below help
    By Kiwi06 in forum Excel General
    Replies: 5
    Last Post: 12-17-2008, 05:14 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