Formula Help

bwlytkr

Board Regular
Joined
Jun 8, 2012
Messages
185
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
What would be the best formula to use if column B matches something in column X, populate adjacent info in cell Y in column P in same row as column B.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Either Vlookup, or Index/Match
 
Upvote 0
Thanks. Kind of new to excel. Would you have an idea on how the formula should look? Never seen and Index formula before
 
Upvote 0
Like this


Excel 2013/2016
BPXY
1WardWardIntroduced
2Ashley2St Peters1
3Batchwood14Ashley2
4Clarence4Sopwell3
5Hatfield Central6Clarence4
6Hatfield Villages9Hatfield Central6
7London Colney10Welham Green and Hatfield South8
8Park Street11Hatfield Villages9
9Redbourn15London Colney10
10Sopwell3Park Street11
11St Peters1St Stephen12
12St Stephen12Verulam13
13Verulam13Batchwood14
14Watling17Redbourn15
15Welham Green and Hatfield South8Watling17
16Colney Heath19
17Wheathampstead20
18Sandridge22
19Marshalswick North23
20Harpenden South24
21Harpenden West25
22Harpenden North28
Data
Cell Formulas
RangeFormula
P2=INDEX($Y$2:$Y$29,MATCH(B2,$X$2:$X$29,0))
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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