How to write Excel functions to club stocks [closed]

拜拜、爱过 提交于 2020-03-25 16:04:40

问题


I have several ingredients (variables), let's call them A, B, C, D, E.

Now my recipes require:

recipe1 = A(1 piece) + B(1 piece)

recipe2 = C(2 pieces) + D(3 pieces) + E(1 piece)

Now suppose if the number of ingredients I have in stock is A=40, B=66, C=95, D=136, E= 52.

I want the Excel to tell me, that I can create, 40 recipe1 and 1 recipe2.

How do I do that? I am new at this. The above problem is just a sample. but this is essentially the sort of problem, I face regularly, I always have to look for the sets, which is very time-consuming.

来源:https://stackoverflow.com/questions/60699173/how-to-write-excel-functions-to-club-stocks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!