To display which supplier gives the lowest price [duplicate]

给你一囗甜甜゛ 提交于 2020-07-31 06:09:35

问题


I have a sheet that gives the lowest price among two suppliers. 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.supplier column ("K") works only if the same barcode comes in same row ("A" & "C") an eg is there ABC213 are not in same row, so "K" doesnt give value. i have applied a formula there. so if u can modify it that would be a great help for me


回答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/62761526/to-display-which-supplier-gives-the-lowest-price

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