Closed Thread
Results 1 to 7 of 7

Calculate amount of days paid in advance and apply percent discount

Hybrid View

  1. #1
    Registered User
    Join Date
    07-13-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Calculate amount of days paid in advance and apply percent discount

    I have a table, as part of an assesment task i am doing, with dates, and a course fee.
    Part of the assesment task is to write a formula, to work out how many days in advance the customer paid, and then apply the needed discount. I have tried several basica variations to the formula, and keep getting the same Err message.
    Can someone please point me in the right direction to how i can calculate amount of days paid in advance and apply a % discount?

    attached is the start of the assesment question.
    Thanks in advance for anyone who is able to help me


    You should create and enter formulas to calculate the No. of Days paid in Advance, the Discount and the Course Fee Paid.
    Use a VLOOKUP function in your template to determine the discount rate to be used for the calculation of the Discount. Your template should include a separate discount table containing the following information about the discount received:
    • If students pay the course fee less than 7 days prior to the course commencing then they receive no discount.
    • If students pay the course fee 7 to 13 days prior to the course commencing then they receive a discount of 5%.
    • If students pay the course fee 14 to 20 days prior to the course commencing then they receive a discount of 8%.
    • If students pay the course fee 21 days or more prior to the course commencing then they receive a discount of 10%.
    Last edited by djduality; 07-14-2009 at 03:18 AM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: help with a confusing issue

    http://www.excelforum.com/forum-rule...rum-rules.html

    Hi,

    Welcome to the forum, please take a little time to read the forum rules then re-edit your title to your question
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    07-13-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Question in Regards to writing a complex forumla

    This is what i have so far. I thank anyone who is able to provide assistance
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,084

    Re: Question in Regards to writing a complex forumla

    Try this
    H2
    =LOOKUP( G2/7,{0,1,2,3},{1,0.95,0.92,0.9})*F2

    copied to H6

    HTH,
    windknife

  5. #5
    Registered User
    Join Date
    07-13-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Calculate amount of days paid in advance and apply percent discount

    thanks very much. Gladly appreciated. Thanks again for the quick replies and guidance

  6. #6
    Registered User
    Join Date
    02-22-2010
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Calculate amount of days paid in advance and apply percent discount

    ok so I know this is solved but, I am also doing the same course and was wondering in your excel doc where is your vlookup table? All the info you have there does not actually use the VLOOKUP function which is what this task is.
    I personally am stuck on this also and my main issue is the VLOOKUP table setup. Any advice?

  7. #7
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Calculate amount of days paid in advance and apply percent discount

    Hi,

    A VLOOKUP wasn't used to solve this one in the end, look at djduality's attachment and the formula provided by windknife.

    If that doesn't solve your problem, please post a new question in the appropiate forum - Thanks

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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