# Using the MIN IF Function

#### aware073

##### Board Regular
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))

Thanks for the response. I tried that but I'm getting the lowest of rows 1-100 in every box

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.

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.

Ah that worked perfect. Thank you so so much!

You're welcome.

Replies
1
Views
289
Replies
7
Views
242
Replies
2
Views
425
Replies
16
Views
710
Replies
6
Views
463

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.

### Which adblocker are you using?

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

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