+ Reply to Thread
Results 1 to 16 of 16

Product Order Optimisation

  1. #1
    Registered User
    Join Date
    10-25-2017
    Location
    London
    MS-Off Ver
    MS2016
    Posts
    8

    Product Order Optimisation

    I'm looking to use excel to help me find the optimal order of products displayed on a eccommerce page.
    Different revenue is generated from a click for each product dependent on the position on the page, so in the example below, Product 1 makes £33 for a click in position 1, £10 in position 2 etc. (Numbers are all made up here). The volume by position is ofcourse different (ie 40% will click P1 vs
    20% click P2, however I have accounted for that in the £s to keep this simpler, so assume it is evenly spread)

    Can I use excel to try every possible order to show what the optimal order is.

    In this example there is on 5 products and therefore 5 positions, however in reality there may be 30-40 products

    Capture.PNG

    Many Thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Product Order Optimisation

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-25-2017
    Location
    London
    MS-Off Ver
    MS2016
    Posts
    8

    Re: Product Order Optimisation

    Sure thing, I've added a small workbook. I've also added the click volume and click share and a mock up of a desired solution output (which is effectively a output of what the product order should be and what that would be maximum revenue this would generate - although any better or easier output is welcome!)
    Thanks in advance for any help
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Product Order Optimisation

    You have not included the desired outcome in B20 to B29.

  5. #5
    Registered User
    Join Date
    10-25-2017
    Location
    London
    MS-Off Ver
    MS2016
    Posts
    8

    Re: Product Order Optimisation

    here you go
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Product Order Optimisation

    I'm sorry - you are going to have to explain your desired outcomes. Why, for instance, is product 8 in first position? What's the logic? Which bits of this worksheet are you asking us to help you automate? It's a long way from clear to me - sorry!

  7. #7
    Registered User
    Join Date
    10-25-2017
    Location
    London
    MS-Off Ver
    MS2016
    Posts
    8

    Re: Product Order Optimisation

    Thanks for your help so far, sorry for not explaining very well!

    The product order was just a random order I put in there for the sake of an example of how the output could look (I'm sure it's not optimal at all!)

    So as an example, if the products on the table were ordered numerically and there were 1000 clicks:
    Product 1 in Position 1 would generate £116.49 (1000 clicks * 35.5% click share * £0.33 revenue per click or B3*B4*B6)
    Product 2 in Position 2 would generate £14.92 (1000 clicks * 15.2% click share * £0.06 revenue per click or B3*C4*C7)
    And so on across all 10 products.. which would generate a certain £

    Obviously there a multiple orders you could arrange the products, too many to manually check, (10^10 i think), one of which would give the maximum revenue

    The question was really was there an analysis tool within Excel that can do this calculation on all the different orders and show what the optimum order would be
    Appreciate its not just a straight forward formula! But I'm unsure how a lot of the analysis tools work (like Solver) and whether they can help in this example -

    or whether this is out of scope for what Excel could do and another modelling/analysis tool is more suitable- hope this makes more sense.

    Thanks again in advance

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Product Order Optimisation

    Over my head, I'm afraid!

    I'm sure someone else will get it and chip in.

  9. #9
    Registered User
    Join Date
    10-25-2017
    Location
    London
    MS-Off Ver
    MS2016
    Posts
    8

    Re: Product Order Optimisation

    Over mine too! Thanks for looking at it though!

  10. #10
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Product Order Optimisation

    Not really sure I understands you problem properly but I've set up a solver model for max profit based on you only can select 1 product from a position.

    As for building the table, I first need to know if this setup is of any use to you.

    Alf
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-25-2017
    Location
    London
    MS-Off Ver
    MS2016
    Posts
    8

    Re: Product Order Optimisation

    Thanks so much for your work so far -
    So In theory yes, this would be a good output for me -
    What needs to be added into this is the fact that 1 product can only be used on one position.
    So in your current output on the binary grid (if I'm reading it right!) says position 1-6 should be product 5 for all of these rows. However if Position 1 was Product 5, then Position 2 could be any product except for Product 5 (as that's already been used)
    Its effectively finding the best combination only each product once - hope that makes more sense??

    Thanks again for helping with this!

  12. #12
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Product Order Optimisation

    Please Login or Register  to view this content.
    No problem fixing that just adding another constraint.

    If this is what you want I'll have a go at constructing the table. Don't know how to do it at the moment but looks interesting.

    Alf
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    10-25-2017
    Location
    London
    MS-Off Ver
    MS2016
    Posts
    8

    Re: Product Order Optimisation

    Hi Alf,
    This is perfect thank you so much for your work - I think this is just what I need for now

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Product Order Optimisation

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

  15. #15
    Registered User
    Join Date
    10-25-2017
    Location
    London
    MS-Off Ver
    MS2016
    Posts
    8

    Re: Product Order Optimisation

    Yes I think it does for now, I will thank you

  16. #16
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Product Order Optimisation

    You are welcome and thanks for feedback.

    With time on my hands I've made a last version of your original file.

    In this file there are two macros, the first one assumes that you run solver manually first. Then you run the "MakeTable" macro and
    this macro first clears the range A40:B49 and B50 and then adds the values from the solver run into range A40:B49 and cell B50.

    The second macro "SolverAndTable" first clears the all ranges A40:B49, B50 and B18:K27 and the runs solver and builds the table.

    But to run the "SolverAndTable" macro you must first set a reference to solver in "Visual Basic"

    Click on "Developers" tab, then click on the "Visual Basic" icon. In the new window that opens click "Tools" then "References"

    find and tick box marked "Solver" click "OK" and close "Visual Basic" window. You can now run solver and get
    the table updated using the "SolverAndTable" macro.

    The way the table is filled is by entering the highest value first by using the "Large" function (cell C35) and looping the number from 1 to 10 in
    cell E35.

    As you do have some rather small values and they are shown with only two decimals some results may look odd at the first glance
    for instance E28, F28 and I28 all show the same value but checking these values in the table F28 is position 5, product 6 and this value is really 0.06185. And I28 is position 8, product 10 witch has a value of 0.056712 and finally E28 is position 4 and product 9 with a value of 0.05654

    Must say this was not obvious to me at the start. I've modified the spreadsheet in order to get the data for table building. Not my best effort I must admit but it seems to work so


    Alf
    Attached Files Attached Files
    Last edited by Alf; 10-26-2017 at 01:02 PM.

+ 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: 7
    Last Post: 03-20-2016, 12:06 PM
  2. Create a product order project
    By finditmax in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-08-2015, 01:21 PM
  3. Replies: 10
    Last Post: 09-27-2012, 03:59 PM
  4. Running List of On Order Product Components
    By mhaslam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-22-2011, 03:04 PM
  5. Sort data into order of product
    By Jackmac in forum Excel General
    Replies: 3
    Last Post: 02-21-2006, 11:15 AM
  6. Sort data into order of product
    By Jackmac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-21-2006, 11:15 AM
  7. Sort data into order of product
    By Jackmac in forum Excel General
    Replies: 2
    Last Post: 02-21-2006, 10:55 AM

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