Determining Smallest Value and linking to adjacent Value

radar_jynx

New Member
Joined
Mar 16, 2009
Messages
18
Using

D3 =INDEX(B6:BK45,MATCH(SMALL(I6:I45,COUNTIF(I6:I45,0)+1),I6:I45,0))

Using that i can link the smallest number in a Range To a Text Value in another range Eg.
I6= 2 B6 = Ben
I7= 4 B7 = Bob
I8= 1 B8 = Bill

Therefore D3 = Bill becasuse I8 is the smallest value

However i want the the equation so that every second cell is counted to fin the smallest value and = 2 Names eg.
I6 = 2 B6 = Ben B7 = Bob

I8= 4 B8=Jill B9=Jane

I9= 1 B10=Rob B11=Rhett

Therefore D3 = Rob & Rhett

any help would be much appreciated thanks
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
What if you combine the names in a convenient range of cells using an appropriate formula (=B8 & " & " & B9 perhaps) and then use your formula in D3 to reference this range instead.
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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