Returning two values from a table array based on a value

Phil-T

New Member
Joined
Aug 11, 2013
Messages
3
I'm trying to return 2 values from a table selection, based on a value i.e. if I look up the table for "Team 1" - i'd like to return Team 1 v Team 6, Team 9 v Team 1, and so on, to a Fixtures Section in a different area of my Excel Sheet.

However, the look up value "Team 1" could be in column J or N. I've tried Index, Match, VLookup, IF statements etc....

Any ideas would be greatly appreciated :)

See below:

JKLMN
8Team 2vTeam 7
9Team 1vTeam 6
10Team 3vTeam 8
11Team 4vTeam 9
12Team 5vTeam 10
13
14Team 2vTeam 4
15Team 8vTeam 3
16Team 9vTeam 1
17Team 6vTeam 7
18Team 10vTeam 5

<tbody>
</tbody>



Fixtures for Team 1


JKLMN
146Team 1vTeam 6
147Team 9vTeam 1

<tbody>
</tbody>


Many thanks.....
 
Last edited:

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
O146, control+shift+enter, not just enter, and copy down:

=IFERROR(SMALL(IF($J$8:$N$18="Team 1",ROW($J$8:$N$18)-ROW($J$8)+1),ROWS(O$146:O146)),"")

J146, copied down:

=IF($O146="","",INDEX($J$8:$J$18,$O146))

L146, copied down:

=IF($O146="","","v")

N146, copied down:

=IF($O146="","",INDEX($N$8:$N$18,$O146))
 
Upvote 0
Aladin - that's absolutely fantastic and i've it working now in my excel sheet. :)

Brilliant!!!

Many thanks :):):)
 
Upvote 0
Hi Phil

In future please stick to your original thread. You can bump it after a day if you haven't had satisfactory replies (just reply to your own thread to bump it).
 
Upvote 0

Forum statistics

Threads
1,215,764
Messages
6,126,751
Members
449,335
Latest member
Tanne

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