+ Reply to Thread
Results 1 to 4 of 4

Help with Pricing Formula

  1. #1
    Registered User
    Join Date
    10-31-2011
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Help with Pricing Formula

    Hello,

    I have been using excel for a while... but for some reason cannot write this seemingly simple formula. I'm hoping someone can help.

    Here is what I need.

    I need a formula to do the following:

    If the old margin on a product is less than 70%, make the new margin 70%

    If the old margin is 70% - 99%, make the new margin 100%

    If the old margin is 100% or higher make the price of the product stay the same as before.

    If the new margin is 100% and the old margin is higher than the new margin then make the new price the same as the old price.

    I'm not sure this makes sense... perhaps that is why I can't figure it out.

    Sorry for the mess. Ask questions to clarify if you need to.

    I REALLY APPRECIATE your help.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Help with Pricing Formula

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    10-31-2011
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Help with Pricing Formula

    I have added the workbook I have been working on.

    Thanks!
    Attached Files Attached Files

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,157

    Re: Help with Pricing Formula

    Your file looks fairly clear but I'm not sure where you are getting your logic from that you describe in your post. I think your problem is that your business rule creates a circular dependency. Your new margin is calculated using the new price, but your rules say
    If the new margin is 100% and the old margin is higher than the new margin then make the new price the same as the old price.
    That means that if you adjust the price based on the new margin, the new margin will change, and you might have to change the price again, and then the margin will change again, and there you are in an infinite loop, which Excel sort of frowns on.

    I think you need to rethink your business logic. There are ways to actually take advantage of circular dependencies in Excel and manage them but I do not have experience doing that, and am not sure that the right solution for this problem anyway.

    You may also need to use something like Solver, which will provide an iterative solution to converge on a desired outcome.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to 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