Match Range One with Range Two and Return Info from Range Three

ozbeachbum

Board Regular
Joined
Jun 3, 2015
Messages
233
Office Version
  1. 2021
Platform
  1. Windows
Where there is a Match in Range H2:H18 to Entries in Range D2:D18 then the corresponding entry in F2:F18 would be shown in (B2:B18)
EG: H4 Master D8 Master F4 hl (B8 hl)
EG:H2 H8 & H14 Test D2 D12 & D14 Test F2 F8 & F14 h (B2 B12 & B14 h)

240811 entries from 2 criteria.xlsx
BCDEFGH
2TesthTest
3
4RoamhlMaster
5
6ResethsTest 01
7
8MasterhTest
9
10RazorbReset
11
12TesthssTest 02
13
14TesthTest
15
16Test 01
17
18Test 02
19
20Where there is a Match in Range H2:H18 to Entries in Range D2:D18 then the corresponding entry in F2:F18 would be shown in (B2:B18)
21EG: H4 Master D8 Master F2 hl (B8 hl)
22EG:H2 H8 & H14 Test D2 D12 & D14 Test F2 F8 & F14 h (B2 B12 & B14 h)
Blank
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try:

Book1
ABCDEFGH
1
2hTesthTest
3
4RoamhlMaster
5
6bResethsTest 01
7
8hlMasterhTest
9
10RazorbReset
11
12hTesthssTest 02
13
14hTesthTest
15
16hsTest 01
17
18hssTest 02
19
Sheet5
Cell Formulas
RangeFormula
B2:B18B2=IF(D2:D18="","",XLOOKUP(D2:D18,H2:H18,F2:F18,"",0))
Dynamic array formulas.


Note that if 2 cells in column H have the same value (H8 and H14), the first row will be used.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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