find min value depending on range

richardlit

New Member
Joined
Dec 31, 2009
Messages
6
Hi

I need to find the minimum value in row 2 for each account in row 1, for example

row 1 row 2
111 50
222 20
333 80
444 40
111 40
222 50

Results would show 111 with a minimum value of 40, 222 with a minimum value of 20 etc etc

I would prefer a formula that does not use an array or VBA.

your help is greatly appreciated!

Thanks
Richard
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Thanks for the quick response!

I need the results to show in row 3 for each number. For example

row 1, row 2, row 3 (row 3 is the minimum value in row 2 where value in row 1 is the same)
111, 50, 40
222, 20, 20
333, 80, 80
444, 40, 40
111, 40, 40
222, 50, 20

Hope this makes sense.

Thanks
Richard
 
Upvote 0
Hi

This works but slows down my spreadsheet drastically (I'm not sure if this is because it is an array or the number of rows, currently around 80,000).

Is there a different formula e.g. IF statement or INDEX MATCH function?

Thanks
Richard
 
Upvote 0

Forum statistics

Threads
1,214,839
Messages
6,121,891
Members
449,058
Latest member
Guy Boot

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