Lookup a list of values based on a date

ctigers

New Member
Joined
Nov 6, 2013
Messages
44
I have a list of names within the same time frame (1st quarter 2009 for example) on sheet A. Tried Vlookup but it only gives me the first name, need to list all names that fall with that time frame on sheet B
SHEET A
QUARTERNameStatusDept #
1st Qtr 2009April VickeryW 21440
1st Qtr 2009Doug WareW 21410
2nd Qtr 2009Jimmy SelmanW 21430
1st Qtr 2009Daisy CowanW 21431
3rd Qtr 2009Mike BrennemanW 21415
1st Qtr 2009Stacy GambrellW 21430
2nd Qtr 2009Connie SandersW 21660
2nd Qtr 2009David AblesW 21411
SHEET B
1st Qtr 2009
April Vickery
Doug Ware
Daisy Cowan
Stacy Gambrell

<tbody>
</tbody><colgroup><col><col><col><col></colgroup>
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Enter this into A2 of sheet B and drag down.

Code:
=IFERROR(INDEX('Sheet A'!$B$2:$B$9,SMALL(IF('Sheet A'!$A$2:$A$9='Sheet B'!$A$1,ROW('Sheet A'!$A$2:$A$9)-ROW('Sheet A'!A$2)+1),ROWS('Sheet A'!A$2:A2))),"")

It is an array formula so use ctrl+shift+enter
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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