Best Price Search

anpaladin

New Member
Joined
Apr 18, 2021
Messages
5
Office Version
  1. 2019
  2. 2016
Platform
  1. MacOS
Hello,
on sheet 1 I have a list of suppliers in column A, products in column b, volume of product in column c, price in column d, and costs per various units in columns e and f.
On the following sheets, I am trying to cost out various things and am trying to refer back to the price list from sheet 1. So on sheet 2, column a has the product, column b has the volume, and in column d is where i am trying to write formula to search for the product from column a on sheet 1 and return the one with the lowest price (most products have multiple entries from multiple suppliers). Ideally, column e would have a formula to reflect the supplier of that best price. I have tried to index match, and incorporate a min function but I can't seem to accomplish what I am trying to do.

Thanks in advance!

Andy
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Sounds like this is what you were trying to do. Are all the prices unique though?

D2 =MINIFS(Sheet1!D:D,Sheet1!B:B,A2,Sheet1!C:C,B2)
E2 =INDEX(Sheet1!A:A,MATCH(C2,Sheet1!D:D,0),1)
 
Upvote 0
Solution
If there are duplicates, thanks to Jonmo1

E2 =INDEX(Sheet1!A:A,MATCH(1,INDEX((Sheet1!B:B=A2)*(Sheet1!C:C=B2),,),0))

 
Upvote 0
If there are duplicates, thanks to Jonmo1

E2 =INDEX(Sheet1!A:A,MATCH(1,INDEX((Sheet1!B:B=A2)*(Sheet1!C:C=B2),,),0))

Thank you, the above suggestion worked, although I am not entirely sure about the duplicates. Do you mean for example if two suppliers offered the same price for the same item? This is not likely, although it is not impossible.
 
Upvote 0
Thank you, the above suggestion worked, although I am not entirely sure about the duplicates. Do you mean for example if two suppliers offered the same price for the same item? This is not likely, although it is not impossible
to clarify-- by above suggestion I meant the first one with minifs and index(match)
 
Upvote 0
something else to clarify because i think i understand this-- the volume of product on sheet1 is the volume that the supplier sells it in, but the volume on sheet2,3,4etc is the volume needed for the job, so these do not match each other.
 
Upvote 0
something else to clarify because i think i understand this-- the volume of product on sheet1 is the volume that the supplier sells it in, but the volume on sheet2,3,4etc is the volume needed for the job, so these do not match each other.
i got it, thanks so much!!!
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,749
Members
448,989
Latest member
mariah3

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