Index with different MATCH values....>

Mickael_1973

New Member
Joined
Sep 21, 2020
Messages
1
Office Version
  1. 365
  2. 2019
Platform
  1. MacOS
Hi everyone,

Im trying to return a cell value using index and match but I need a value to be return on either one of two values.
Ive seen lots of videos and tutorials that show how to concatenate more than one MATCH value but it is not what I need.
This is the formula:
=INDEX($A$6:$BN$6,MATCH(J29,A8:A24,0),(MATCH(25,A8:BN8,0)-2))

As is, the formula returns the right cell value when the match function finds the value: 25.
I need the formula to return the cell value if the MATCH function is either 25 OR 26.

Ive tried to concatenate, use &, use OR, but I just cant get it to work.
Any help would be greatly appreciated, happy to post my spreadsheet if you need to try out using the real data, it's not confidential, just my F1 race results spreadsheet :)

Cheers,
M.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi & welcome to MrExcel.
Can you please post some sample data using the XL2BB add-in.
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

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