One Acre Fund Interview Question

Order optimization problem in Excel