问题
I have a sheet that gives the lowest price among two suppliers. And one member from this platform helped me to find which supplier gives the lowest price. but the problem is it displays the value only if both barcode comes in the same row. pls help me to expand this equation that where ever matching barcode comes in the sheet must give me the lowest supplier. Am sorry for my bad english. so that the sheet is shared here. Please take a look.
https://docs.google.com/spreadsheets/d/1AscLCZPEv6uHJkgr2KkLJ7V_w7GfySV_19-eiQQ7Sx8/edit#gid=1464637808
回答1:
To get lowest price you can use MIN(), example =MIN(B2, D2)
:
For the K2 you already have the formula which works well
=INDEX(A$1:D$1,match(J2,A2:D2,0)-1)
And now you select cells J2 + K2 and just drag down to expand it.
来源:https://stackoverflow.com/questions/62745349/to-find-the-lowest-supplier-who-gives-the-lowest-price