+ Reply to Thread
Results 1 to 10 of 10

Is it possible to do such thing? Optimizing products price based on budget.

  1. #1
    Registered User
    Join Date
    01-20-2023
    Location
    Miami
    MS-Off Ver
    Florida
    Posts
    1

    Question Is it possible to do such thing? Optimizing products price based on budget.

    Hi everyone, real struggle here and I don't even know if it is possible with excel so I need an Excel super hero!!

    Problematic: I would like to select as much products as possible in a list in order to be as close as possible of a budget, without going over. "Let say I have a budget for Christmas ($23.5), and a long list of sub $1 presents. I would like to optimize my shopping list and take as many presents as possible without going over $23.5 but being as close as possible."

    I have seen several tutos and people talking about "solver" but it's difficult to use with my beginner level this is why I am asking for some help.


    Ex: I have a list of products with different prices, and a fixed budget to not go over (let say $6):

    Products----------Price
    Product #1-------0.97
    Product #2-------1.33
    Product #3-------1.60
    Product #4-------1.70
    Product #5-------1.89
    Product #6-------1.87
    Product #7-------1.55
    Product #8-------1.65

    Here, for example, the ideal outcome would be "Product 1 ($0.97) + Product 3 ($1.60) + Product 6 ($1.87) and Product 7 ($1.55)" as it would arrive at $5.99.


    Even if there is multiple solution, it's not a problem, the challenge is simply to arrive as close as the budget using any product, there is no priority in the product list.

    Hopefully you get an idea how to make such a formula/system.

    Thank you
    Last edited by excool; 10-07-2023 at 03:32 PM.

  2. #2
    Registered User
    Join Date
    02-11-2020
    Location
    Hongkong, China
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2308 (Windows 10 21H2 64-bit)
    Posts
    8

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    this is my solution. The best group 7 is the most close to budget.
    Attachment 845204
    Attached Images Attached Images
    Last edited by W_Sir; 10-08-2023 at 02:09 AM.

  3. #3
    Registered User
    Join Date
    02-11-2020
    Location
    Hongkong, China
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2308 (Windows 10 21H2 64-bit)
    Posts
    8

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    You provide the real data and your budget, I can porvide the best group for you.
    The calculation is quite complicated, it is difficult to tell you. Thus, the result is the most you want, I think.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    Quote Originally Posted by W_Sir View Post
    this is my solution. The best group 7 is the most close to budget.
    Attachment 845204
    Your link did not work.

    Also, we prefer that you explain your solution in the thread so that members dont need to open your file to see what you have done.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    02-11-2020
    Location
    Hongkong, China
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2308 (Windows 10 21H2 64-bit)
    Posts
    8

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    I inserted image, but I do not know why it became a link? I click the link, and the image expand. So I thought it may be like so originally.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    The image attachment is invalid. Please attach a sample workbook instead.
    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.

  7. #7
    Registered User
    Join Date
    02-11-2020
    Location
    Hongkong, China
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2308 (Windows 10 21H2 64-bit)
    Posts
    8

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    Thank you. I retry with attachment.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    You have attached a picture - that is of NO USE to anyone. Please attach a WORKBOOK.

  9. #9
    Registered User
    Join Date
    02-11-2020
    Location
    Hongkong, China
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2308 (Windows 10 21H2 64-bit)
    Posts
    8

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    ok, I will attach workbook next time when he provide real data and budget. Thanks for remind.

  10. #10
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Is it possible to do such thing? Optimizing products price based on budget.

    You need to attach the workbook pictured earlier, please. As I said, the picture is next to useless. Please do as I have asked so that we can see your solution properly. Thank you.

+ 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: 06-20-2019, 02:16 PM
  2. Multiple products selection with automatic price based on quantity/volume
    By murilo.costa in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-30-2018, 08:39 AM
  3. Replies: 8
    Last Post: 07-01-2016, 02:07 AM
  4. [SOLVED] Formula for increasing the price of certain products
    By rabbycrabby in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-25-2015, 03:04 PM
  5. Need Help Getting Price to Autofill For a products with three price options
    By elkhntr4 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-13-2012, 10:41 AM
  6. How to add up products across a row based on a price list?
    By JonathanSQ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-21-2008, 01:30 PM
  7. Replies: 1
    Last Post: 04-24-2006, 03:10 AM

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