Index match same row?? possible?

rsj88

New Member
Joined
Feb 20, 2018
Messages
38
Hi,

I am trying to do index match on same row is this possible?



EG:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Apple[/TD]
[TD]10/02/2018[/TD]
[TD]car[/TD]
[TD]12/03/2017[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]11/02/2018[/TD]
[TD]bus[/TD]
[TD]23/02/2018[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]12/02/2018[/TD]
[TD]van[/TD]
[TD]16/12/2018[/TD]
[/TR]
</tbody>[/TABLE]


I want to search the top row for "car" and when it finds it return the adjacent cell so "12/03/2018". The word car could be anywhere in row A1:Z1
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Doesnt work on the same row =INDEX(A2:D2,MATCH("Car",A2:D2,+1)) just returns car i need it to return 12/03/2017
 
Upvote 0
try this

=INDEX(A2:D2,MATCH("Car",A2:D2,0)+1))
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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