+ Reply to Thread
Results 1 to 3 of 3

complex discounting programs

  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    Florida
    MS-Off Ver
    2013
    Posts
    7

    complex discounting programs

    I am hoping that I can make this work in excel, though it may be better suited for a database program.
    I am looking to create a series of automatic discounts for my products and I am hoping to find a nice way to automate this for invoicing purposes.

    I kind of know what i need to do, but im not sure if it is possible in excel.


    here is my table format, Image#, product ID, Name, Collection, QTY, and Price.

    so when a client selects an image, they may select it on one or multiple products.

    I have two kinds of discounts I need to create.

    1. BOGO-- if 1<QTY<4 price = Price+ (qty-1)*price*discount

    This one I think I've got, though is there an easy way to repeat the equation for each qty above 4 (or the specified value)? so if a qty of 12 for example, the would pay full price for every 5th item, and discount would be applied to the remainder.

    2. discount if the same image is used among different products.
    This would need to search the image column for any duplicates
    for each unique image find the max product price associated with that image. store value as Base1
    for each remaining image/ product combo, check to see if the collection matches that of BASE 1, If yes, discount =30%, if no, discount =20%

    Again, this may be better suited for a PHP function or something, but If i can make it work in excel, that would be really helpful.

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: complex discounting programs

    If you could provide an attachment with sample data and desired results, that would be very helpful. Thanks.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Registered User
    Join Date
    01-08-2014
    Location
    Florida
    MS-Off Ver
    2013
    Posts
    7

    Re: complex discounting programs

    Here is a sample sheet. I posted the desired results as well as a few other questions.

    sample.xlsx

+ 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. Replies: 1
    Last Post: 08-15-2011, 01:53 PM
  2. xls to exe programs
    By gloria in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2009, 05:22 AM
  3. Mid Period Discounting with the NPV Function
    By apubapu82 in forum Excel General
    Replies: 5
    Last Post: 05-15-2006, 11:40 PM
  4. Blanking / Discounting zero values in ranges
    By RobPot in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-24-2005, 08:16 PM
  5. [SOLVED] Financial formula for Discounting Cashflows
    By Jeff in forum Excel General
    Replies: 2
    Last Post: 02-15-2005, 06:45 PM

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