Reputation: 1
My goal is to find the smallest sum of 1 entry per column in this array.
i.e. Though column 9 has the lowest value for all rows, only one value can be used, and same for all the other columns, and I want to know what combination will produce the smallest sum.
Is there any way of doing this in Google Sheets?
Thank you!
Upvotes: 0
Views: 121
Reputation: 2891
Use this formula
=INDEX(QUERY({A3:I},"Select "&
TEXTJOIN(", ",1,ARRAYFORMULA("min(Col"&COLUMN(A3:I)&")"))),2)
Upvotes: 0