Simple lookup and match issue

rolando87

New Member
Joined
Mar 13, 2017
Messages
20
Office Version
  1. 2010
Platform
  1. Windows
Hi Guys,

I hope one of you can help, my problem seems so simple but for some reason struggling.

I have 2 sets of data (of different row lengths) that I need to match up, so that I can match the client number in column A with the appropriate email found in a separate dataset that doesn't have the same amount of rows since not all clients provided emails.

For example

Data set 1 (maybe 500 rows)
Column A = a 3 digit client number
Columns B-D = clients data like address, phone, etc EXCEPT email address

Dataset 2 (maybe 300 rows since not all clients have emails)
Column F = email
Column G = the same 3 digit client numbers found in column A.

what formula do I need to use to basically say ok column A in dataset 1 with this client number has this email

Thanks for any help or clues!
 

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.
A sample of your data and the solution(s) expected would help. Please use XL2BB.
 
Upvote 0
Upvote 0
Solution
Ah ok, the code you provided does solve the issue, I was getting SPILL error but realized if I just do it only on cell 1 it populates all 1000 cells or however many rows I enter.

Thanks very much!
 
Upvote 0
Your profile says Excel 2010...shouldn't have a spill issue with 2010.
 
Upvote 0
Hi,

Another way:

Book3.xlsx
ABCDEFG
1IDemail
2290 459
3430xyz@abc.netabc@xyz.com766
4931 293
5164 123@def.com888
6910 944
7459 290
8766abc@xyz.comxyz@abc.net430
9293 931
10888123@def.com164
11944 910
Sheet918
Cell Formulas
RangeFormula
B2:B11B2=IFERROR(LOOKUP(2,1/(FIND(A2,G$2:G$20)*(F$2:F$20<>"")),F$2:F$20),"")
 
Upvote 0

Forum statistics

Threads
1,214,950
Messages
6,122,428
Members
449,083
Latest member
Ava19

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