Rate cards - return winning supplier with minimum value

MatthewPaul

New Member
Joined
Nov 5, 2023
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
Hi there, I produce a lot of rate cards with multiple suppliers and would like some help with a return function.

Currently, the formula I'm using is =INDEX($V$1:$AA$1,MATCH(MIN(V2:AA2),V2:AA2,0))

**Please see screenshot**

There are two things I'm looking for support with.
1. If two suppliers have the same bid, how do I return both suppliers in 'winning supplier' cell
2. If there is a 0.00 bid in one of the cells, how do I exclude that bid from the 'winning supplier' formula. I need this as I might have bids in other currencies and in the range of this formula, I might have = x * currency exchange. Until I have a bid in there, it comes up with a 0.00 value.

Thank you very much and I appreciate your support in advanced.
 

Attachments

  • Screenshot 2023-11-06 at 11.26.44 am.png
    Screenshot 2023-11-06 at 11.26.44 am.png
    58.2 KB · Views: 12

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Welcome to the MrExcel board!

For the future I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

See if this would work for you.

23 11 06.xlsm
VWXYZAAAB
1Supplier 1Supplier 2Supplier 3Supplier 4Supplier 5Supplier 6Winner
2116613Supplier 1, Supplier 2, Supplier 5
3360013Supplier 5
4598207Supplier 4
5456944Supplier 1, Supplier 5, Supplier 6
6000000
7923525Supplier 2, Supplier 5
Suppliers
Cell Formulas
RangeFormula
AB2:AB7AB2=BYROW(V2:AA7,LAMBDA(rw,TEXTJOIN(", ",,IFERROR(FILTER(V1:AA1,rw=SMALL(rw,1+COUNTIF(rw,0))),""))))
Dynamic array formulas.
 
Upvote 0
Welcome to the MrExcel board!

For the future I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

See if this would work for you.

23 11 06.xlsm
VWXYZAAAB
1Supplier 1Supplier 2Supplier 3Supplier 4Supplier 5Supplier 6Winner
2116613Supplier 1, Supplier 2, Supplier 5
3360013Supplier 5
4598207Supplier 4
5456944Supplier 1, Supplier 5, Supplier 6
6000000
7923525Supplier 2, Supplier 5
Suppliers
Cell Formulas
RangeFormula
AB2:AB7AB2=BYROW(V2:AA7,LAMBDA(rw,TEXTJOIN(", ",,IFERROR(FILTER(V1:AA1,rw=SMALL(rw,1+COUNTIF(rw,0))),""))))
Dynamic array formulas.
Hi Peter, this is absolutely brilliant. Thank you so much.
I really appreciate it. I hope you have a lovely day.
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top