MATCH returning unexpected result

Yamezz

Active Member
Joined
Nov 22, 2006
Messages
336
Office Version
  1. 2019
I'm getting an unexpected result from an OFFSET(INDEX(MAX(LARGE))) formula. I've split the whole formula into its constituents to find MATCH is returning a result I don't expect.
Given the LARGE formula correctly identifies 44927 as the third largest number, I expected MATCH to return a result of 2, being that 44927 is in the 2nd column of the 1st row of the data. Where am I going wrong?

12345678910
1000449272504510750045108
ResultFormulaIntention
44927=LARGE(A2:J2,3)3rd largest number
5=MATCH(LARGE(A2:J2,3),A2:J2)Position of 44927 (should return 2)
500=INDEX(A2:J2,MATCH(LARGE(A2:J2,3),A2:J2))should return 44927 or R1C2
45107=OFFSET(INDEX(A2:J2,MATCH(LARGE(A2:J2,3),A2:J2)),0,-1)should retun value at R1C1 = 1000
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
You are doing an approximate match rather than an exact match.
Try
Excel Formula:
=OFFSET(INDEX(A2:J2,MATCH(LARGE(A2:J2,3),A2:J2,0)),0,-1)
Or without the volatile offset function
Excel Formula:
=INDEX(A2:J2,,MATCH(LARGE(A2:J2,3),A2:J2,0)-1)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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