+ Reply to Thread
Results 1 to 4 of 4

How to apply a discount in excel 2010

  1. #1
    Registered User
    Join Date
    10-15-2014
    Location
    Seville, Spain
    MS-Off Ver
    2010
    Posts
    7

    How to apply a discount in excel 2010

    Good Morning!

    I'm looking for a way to use the =hlookup


    This is question:

    In Cell I14, calculate the shipping discount using Shipping Discount 2 based on the total price (column F) The discount will be the corresponding percentage times the total shipping cost previously calculated. Write the formula so that it can be copied into cells I15:I19.


    I wrote this

    =-HLOOKUP(F14,$I$7:$K$9,3,TRUE)*H14

    and I end up with

    "-" in the cell. I thought maybe if I copied it to each cell it would change and nope!

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to apply a discount in excel 2010

    Your formula construct is exactly right in layout. But your reference to the Discount Table is off by one row. The table range is $I$6:$K$8 ... an easy mistake. Fix that in your I14 formula, then copy down.

    You're still going to get "-" in the cells that result in zero, like I14. The search value of $171 falls into the first discount column range, which is zero discount.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-15-2014
    Location
    Seville, Spain
    MS-Off Ver
    2010
    Posts
    7

    Re: How to apply a discount in excel 2010

    Quote Originally Posted by JBeaucaire View Post
    Your formula construct is exactly right in layout. But your reference to the Discount Table is off by one row. The table range is $I$6:$K$8 ... an easy mistake. Fix that in your I14 formula, then copy down.

    You're still going to get "-" in the cells that result in zero, like I14. The search value of $171 falls into the first discount column range, which is zero discount.


    JBeaucair:

    Thank you again for your assistance. I have added to your reputation.

    Enjoy your day!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to apply a discount in excel 2010

    Glad to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Excel 2010: I need a formula for asking discount from my supplier
    By Alagarsamy in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 12-10-2012, 03:12 PM
  2. Replies: 1
    Last Post: 11-29-2012, 04:51 AM
  3. [SOLVED] apply discount based on number of guests
    By dacraig in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-02-2012, 06:35 PM
  4. VLOOKUP Formula to apply % Discount
    By Lionel69 in forum Excel General
    Replies: 1
    Last Post: 04-19-2012, 04:22 PM
  5. Formula to apply discount scale
    By Africa in forum Excel General
    Replies: 6
    Last Post: 02-03-2012, 01:16 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