Find a match in one column with other column and then replace it with a value

cerebral

New Member
Joined
Jun 16, 2015
Messages
9
Hello,

I am trying to match Phone numbers from Customers sheet to the records in Calls_Logs sheet. I want the name in Call Logs sheet to get updated according to matching phone number. I have close to 300000 records so it is impossible for me to do it manually. I tried using this code: =VLOOKUP(B3,Patient!A:C,2,FALSE) but it is not able to find out. Please some one help me out

Customers sheet
LastFirstOther PhoneWork PhoneHome Phone
MysterioRey7864866789
SteinerScott
9546329085

<tbody>
</tbody>
3972598
ColdStone
6612628976

<tbody>
</tbody>
78630585356
Lisa Ray
3619455588

<tbody>
</tbody>
2249332353

<tbody>
</tbody>

<tbody>
</tbody>

Call_Logs Sheet
Phone NumberDateTimeDurationName
3972598

<tbody>
</tbody>
Mon 05/11/2015

<tbody>
</tbody>
3:51 PM

<tbody>
</tbody>
0:02:51

<tbody>
</tbody>
6612628976

<tbody>
</tbody>
Fri 04/24/2015

<tbody>
</tbody>
4:27 PM

<tbody>
</tbody>
0:01:18

<tbody>
</tbody>
7864866789

<tbody>
</tbody>
Tue 03/31/2015

<tbody>
</tbody>
12:02 PM

<tbody>
</tbody>
0:03:53

<tbody>
</tbody>

<tbody>
</tbody>
 
No I am not using merged data. But the problem I think maybe is that all phone numbers are not in same format for eg. there is one phone number which is 31244432988 the other is in 7899800 and some other are in 1119007788. So basically they have different length.
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
That shouldn't matter as all we are doing is looking for a match for the number and returning the name that goes with it. This formula is working perfectly for me and I set up my sheets exactly the way you have them... maybe you could post a link to download the file and I can see what the problem is?
 
Upvote 0
That shouldn't matter as all we are doing is looking for a match for the number and returning the name that goes with it. This formula is working perfectly for me and I set up my sheets exactly the way you have them... maybe you could post a link to download the file and I can see what the problem is?

Hey thanks a lot, but still I am getting names for wrong phone numbers. I cannot upload data about contacts of patients. Maybe there is some problem in data, anyways thanks a lot for your help
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,309
Members
449,080
Latest member
jmsotelo

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