Find matching row in Column based on value in another column

Dustinkli

Board Regular
Joined
Mar 26, 2019
Messages
62
Office Version
  1. 365
  2. 2011
Platform
  1. Windows
Good Day,


I am having a bit of trouble finding a solution to this one and I think that my main problem is that I don't know exactly what to search for. I’m sure that this question has been answered previously but I can’t see to find it after searching.


My issue is this:


I have a spreadsheet with servers and those are in Column E. In Column H I have the same Servers in a different order and in Column I I have the SubnetMasks of those Servers.
I’m trying to set it up so that Column F will match the server referenced in Columns H and I.



So for example


Column E Column F Column H Column I
Server 1 Server 2 Subnet B
Server 2 Server 3 Subnet A
Server 3 Server 1 Subnet C



I’m trying to match it up so that Column F has the Subnet for the respective servers in Column E by referencing what the subnet for that server is.



My goal:



Column E Column F Column H Column I
Server 1 Subnet C Server 2 Subnet B
Server 2 Subnet B Server 3 Subnet A
Server 3 Subnet A Server 1 Subnet C
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How about


Excel 2013/2016
EFGHIJ
2Server 1Subnet CServer 2Subnet B
3Server 2Subnet BServer 3Subnet A
4Server 3Subnet AServer 1Subnet C
List
Cell Formulas
RangeFormula
F2=INDEX($J$2:$J$4,MATCH(E2,$I$2:$I$4,0))
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

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