INDEX MATCH last match value in column

umirin

Board Regular
Joined
Jul 31, 2016
Messages
58
Office Version
  1. 365
Platform
  1. Windows
hi
I have this formula to find the first value , I'm looking to tweak it to find the last matched value

=INDEX(Data!$E$2:$G$20000,MATCH(Profit!A2,Data!$G$2:$G$20000),1)


I have tried the formula below which is adding the "2,1/" but excel adds an @ symbol to the Match DATA array which breaks the formula.

=INDEX(Data!$E$2:$G$20000,MATCH(2,1/(@Data!$G$2:$G$20000=Profit!A2)),1)
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Thanks for that, as you have 365 you can use Xmatch
Excel Formula:
=INDEX(Data!$E$2:$G$20000,XMATCH(Profit!A2,Data!$G$2:$G$20000,0,-1),1)
 
Upvote 0
Thanks for that, as you have 365 you can use Xmatch
Excel Formula:
=INDEX(Data!$E$2:$G$20000,XMATCH(Profit!A2,Data!$G$2:$G$20000,0,-1),1)
Genius!! that fixed it, thanks heaps Fluff
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,375
Messages
6,119,168
Members
448,870
Latest member
max_pedreira

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