You can find on my GitHub account an open source software library to solve portfolio allocation problems (Mean-Variance optimization, Risk Budgeting optimization...):Feel free to use it in Google Sheets , in Node.js or (why not?) in the browser!