Help with INDEX+MATCH AND ARRAY FORMULAS TO SORT OUT NAMES OF AGENTS AT A SPECIFIC TIME

ambepat

Board Regular
Joined
May 4, 2014
Messages
127
Hi guys,

I have this question and I need some help here.

Here is my table;

18:0018:3019:0019:3020:00
JohnIBIBIB
AbrahamIBIBIBIBIB
TomIBIBIBIBIB
PamIBIBIB

<tbody>
</tbody>

Name of Agent 18:00 - 19:00 18:00 - 20:00


What I need is a formula that will give me

1) The name of the agents that is Inbound (IB) from 18:00 - 19:00?
2) The name of the agents that is Inbound (IB) from 18:00 - 20:00?


Thanks in advance for you assistance.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

ambepat

Board Regular
Joined
May 4, 2014
Messages
127
Hey guys,

Please really need help here. Is there anyone out there that can smack this down????

Thanks,

ambepat
 
Upvote 0

AhoyNC

Well-known Member
Joined
Oct 10, 2011
Messages
5,188
Office Version
  1. 365
Platform
  1. Windows
ambepat,

Per your PM where you stated you only wanted to see agents between 18:00 - 19:00 and 18:00 - 20:00, try the formulas below.
You might also want to look at Filter under the Data menu.

Note that these formulas pretty much only work for the times you asked for.
Excel Workbook
ABCDEF
118:0018:3019:0019:3020:00
2JohnIBIBIB
3AbrahamIBIBIBIBIB
4TomIBIBIBIBIB
5PamIBIBIB
6
7
818:0019:0018:0020:00
9JohnAbraham
10PamTom
11
12
Sheet
 
Upvote 0

ambepat

Board Regular
Joined
May 4, 2014
Messages
127
Thanks a lot man.

Really appreciate. You always there when I need help. Really grateful.

Peace
ambepat,

Per your PM where you stated you only wanted to see agents between 18:00 - 19:00 and 18:00 - 20:00, try the formulas below.
You might also want to look at Filter under the Data menu.

Note that these formulas pretty much only work for the times you asked for.

ABCDEF
1 18:0018:3019:0019:3020:00
2JohnIBIBIB
3AbrahamIBIBIBIBIB
4TomIBIBIBIBIB
5PamIBIBIB
6
7
8 18:0019:00 18:0020:00
9 John Abraham
10 Pam Tom
11
12

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:68px;"><col style="width:64px;"><col style="width:64px;"><col style="width:48px;"><col style="width:68px;"><col style="width:64px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B9{=IFERROR(INDEX($A$2:$A$5,SMALL(IF(INDEX($B$2:$F$5,0,MATCH($B$8,$B$1:$F$1,0))="IB",IF(INDEX($B$2:$F$5,0,MATCH($C$8,$B$1:$F$1,0))="IB",IF(INDEX($B$2:$F$5,0,MATCH($C$8+0.5/24,$B$1:$F$1,0))=0,ROW($A$2:$A$5)-ROW($A$2)+1))),ROWS($A$2:A2))),"")}
E9{=IFERROR(INDEX($A$2:$A$5,SMALL(IF(INDEX($B$2:$F$5,0,MATCH($E$8,$B$1:$F$1,0))="IB",IF(INDEX($B$2:$F$5,0,MATCH($F$8,$B$1:$F$1,0))="IB",ROW($A$2:$A$5)-ROW($A$2)+1)),ROWS($A$2:A2))),"")}

<tbody>
</tbody>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0

Forum statistics

Threads
1,191,032
Messages
5,984,238
Members
439,879
Latest member
KingGoulash

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
Top