Using the MIN IF Function

aware073

Board Regular
Joined
Jun 5, 2015
Messages
54
Hi! I'm not an excel newbie but just learning all about the different functions that can make my job a lot easier.. In the spreadsheet I'm working on I know I need to use a MIN IF formula but I cant seem to get it to work. I have a list of Part Numbers in Column A, repeated multiple times according to how many different purchase prices there have been. Column D has those purchase prices listed. I need column E to be the lowest purchase price for each part number. Any suggestions?

My example:
A D E(Desired)
2000007 8.49 7.27
2000007 7.36 7.27
2000007 8.24 7.27
2000007 7.27 7.27
2000009 8.47 4.85
2000009 4.85 4.85
2000008 3.21 3.21
 
Last edited:

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Welcome to the forum.

Try this entered as an array.
=MIN(IF($A$1:$A$100=A1,$D$1:$D$100))
 
Upvote 0
Thanks for the response. I tried that but I'm getting the lowest of rows 1-100 in every box :confused:
 
Upvote 0
Because you didn't enter as an array. You must enter using Ctrl, Shift & Enter, if done correctly you'll see curly brackets either side in the formula bar.
 
Upvote 0

Forum statistics

Threads
1,211,882
Messages
6,104,557
Members
447,915
Latest member
jpearson

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