To find the lowest supplier who gives the lowest price

断了今生、忘了曾经 提交于 2020-07-10 10:25:23

问题


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

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