Fuzzy logic Lookup using start/finish date & time and other text

gary333

New Member
Joined
May 3, 2019
Messages
1
Hi,

I am trying to look up two data sources and would really appreciate any help please:

Call Data[TABLE="width: 500"]
<tbody>[TR]
[TD]Username
[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD]Call Id[/TD]
[/TR]
[TR]
[TD="align: center"]name1[/TD]
[TD="align: center"]01/04/19 08:01:07
[/TD]
[TD="align: center"]01/04/19 08:13:19[/TD]
[TD="align: center"]100001[/TD]
[/TR]
[TR]
[TD="align: center"]name2[/TD]
[TD="align: center"]01/04/19 08:01:45[/TD]
[TD="align: center"]01/04/19 08:07:12[/TD]
[TD="align: center"]100002
[/TD]
[/TR]
</tbody>[/TABLE]

against

Interaction Data
[TABLE="width: 500"]
<tbody>[TR]
[TD]Username
[/TD]
[TD]Created[/TD]
[TD]Note ID[/TD]
[/TR]
[TR]
[TD]name1[/TD]
[TD]01/04/19 08:06:34
[/TD]
[TD]abc110000[/TD]
[/TR]
[TR]
[TD]name2[/TD]
[TD]01/04/19 08:05:11[/TD]
[TD]abc110001
[/TD]
[/TR]
</tbody>[/TABLE]

The interaction record date & time will always be after the call starts, but before the call ends.

I want to be able to look up one, against the other to either append the note reference number to the call data, or the call reference number to the interaction records.

I have struggled to do this. My bodge included removing the seconds form all times, then concatenating the username & date/time stamp for both sets of data. I would then run iterations increasing in 1 minute intervals filtering out each time records where the end time was less than the new offset. Really painful, and still not really working correctly.

Thank you :)
 

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.

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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