Lookup Column value when 2 Row values Match

TechInTeaching

New Member
Joined
Dec 29, 2016
Messages
2
Requesting formula assistance for following: If 2 cells in Column D Match & Column C Match & Column B 'Date Time' is < 10 Minutes Result is corresponding value from Column A.

To answer the question "What orders were done by same employee from the same Customer during the same Order call?"
Data:

[TABLE="class: cms_table"]
<tbody>[TR]
[TD]A-Order#
[/TD]
[TD="width: 150"]B-Date Time[/TD]
[TD="width: 64"]C- EMP#[/TD]
[TD="width: 64"]D- Cust#[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl67"]111[/TD]
[TD="class: cms_table_xl68"]12/28/2016 14:23[/TD]
[TD="class: cms_table_xl66"]Ann[/TD]
[TD="class: cms_table_xl66"]Jones[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl67"]599[/TD]
[TD="class: cms_table_xl68"]12/28/2016 14:30[/TD]
[TD="class: cms_table_xl66"]Ann[/TD]
[TD="class: cms_table_xl66"]Jones[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl67"]553[/TD]
[TD="class: cms_table_xl68"]12/29/2016 9:10[/TD]
[TD="class: cms_table_xl66"]bob[/TD]
[TD="class: cms_table_xl66"]smith[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl67"]632[/TD]
[TD="class: cms_table_xl68"]12/29/2016 9:18[/TD]
[TD="class: cms_table_xl66"]bob[/TD]
[TD="class: cms_table_xl66"]Davis[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl69"]222[/TD]
[TD="class: cms_table_xl68"]12/29/2016 10:19[/TD]
[TD="class: cms_table_xl65"]jo[/TD]
[TD="class: cms_table_xl65"]Wills[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl69"]489[/TD]
[TD="class: cms_table_xl68"]12/29/2016 10:25[/TD]
[TD="class: cms_table_xl65"]jo[/TD]
[TD="class: cms_table_xl65"]Wills[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl67"]158[/TD]
[TD="class: cms_table_xl68"]12/29/2016 9:18[/TD]
[TD="class: cms_table_xl67"]ken[/TD]
[TD="class: cms_table_xl67"]Adams[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl67"]237[/TD]
[TD="class: cms_table_xl68"]12/29/2016 9:02[/TD]
[TD="class: cms_table_xl67"]ken Adams
[/TD]
[/TR]
</tbody>[/TABLE]


________________________________________________

[TABLE="class: cms_table, width: 516"]
<tbody>[TR]
[TD]Result: Orders 111 & 599 meet all 3 criteria[/TD]
[/TR]
[TR]
[TD]Result: Orders 222 & 489 meet all 3 criteria[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]Ken's are orders have matching Customer names, but TIME is >>10Minutes[/TD]
[/TR]
[TR]
[TD]Bob's are orders have qualifying time but customer does not match
[/TD]
[/TR]
</tbody>[/TABLE]


Assistance is greatly appreciated for data set used exceeds 5K each time period

TechInTeaching
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Tech you seem to have interchanged the Less than and greater than symbols
 
Last edited:
Upvote 0
Ken's example is FALSE...same customer Adams BUT the time interval is GREATER THAN the 10 minutes [16 minutes]... looking for TRUE statements
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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