Formula to find smallest number in a list

sobrien1234

Board Regular
Joined
May 10, 2016
Messages
175
Office Version
  1. 365
Platform
  1. Windows
I have a list of horses names in column G with their race times in column AD. There are multiple entries for the horses (i.e. they have up to 6 races and times. There are also multiple races. In column X I have managed to get the horse name listed just once with blanks for all the other entries. I want a formula that gives me their lowest time in column AB so it is in the same row as in column X.

Thanks in advance!!

Seamus
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Try to post a small sample (input) along with the desired output.
ee below

See below but there are hundreds of different horses names in G - I need something to copy down in AB to get the lowest number for Jack from column AD

GXABAD
Name
Jack 3
Jack 4
Jack 7
Jack 8
Jack 1
Jack 8
Jack 9
JackJack120
Jack 16
Jack 14

<colgroup><col style="width:48pt" span="4" width="64"> </colgroup><tbody>
</tbody>
 
Upvote 0
What is X?

What is that 1 in AB?

What is the expected result? If it's 1, why is this posted in the row in X with Jack?
 
Upvote 0
All the letters at the top are the columns. The 1 in AB is hopefully the result of the formula I can drag down the entire column for all horses. It will search all numbers in row AD corresponding to Jack in column G and then put the result in column X in the same row that Jack is isolated in column X.

I know it's confusing!
 
Upvote 0
If MINIFS is available on your system...

In AB2 just enter and copy down:

=IF($X2="","",MINIFS($AD$2:$AD$11,$G$2:$G$11,$X2))

Otherwise, in AB2 control+shift+enter, not just enter, and copy down:

=IF($X2="","",MIN(IF($G$2:$G$11=$X2,$AD$2:$AD$11)))
 
Upvote 0
If MINIFS is available on your system...

In AB2 just enter and copy down:

=IF($X2="","",MINIFS($AD$2:$AD$11,$G$2:$G$11,$X2))

Otherwise, in AB2 control+shift+enter, not just enter, and copy down:

=IF($X2="","",MIN(IF($G$2:$G$11=$X2,$AD$2:$AD$11)))

This doesn't appear to work - note there are about 2000 rows and over 100 different horses - also some horse may have 5 entries, some 10, some 3 (i.e. all different). Currently it's just giving me the lowest number in row AD not the lowest number corresponding to each horses name.
 
Upvote 0
This doesn't appear to work - note there are about 2000 rows and over 100 different horses - also some horse may have 5 entries, some 10, some 3 (i.e. all different). Currently it's just giving me the lowest number in row AD not the lowest number corresponding to each horses name.


Sorry it is working!! Got the columns wrong - thanks a million!!1
 
Upvote 0
This doesn't appear to work - note there are about 2000 rows and over 100 different horses - also some horse may have 5 entries, some 10, some 3 (i.e. all different). Currently it's just giving me the lowest number in row AD not the lowest number corresponding to each horses name.

Did you test it at all? If you did, which formula have you picked out?
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,038
Members
448,940
Latest member
mdusw

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