I'm not sure if Excel can do this, but is there a function for this scenario? Lets say I have 100 line items containing bills that total $50,000, but my budget is $20,000. None of the bills have priority over the others, so it makes no difference to me which ones I delay payment on. I just need a way to randomly choose line items that will get me as close as possible to without going over my $20,000 goal. Is there a way to do that without manually trying different combinations?
Bookmarks