Index/Match formula for specific date range?

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I had to retype everything into Excel your picture shows. Please provide next time your sample yourself in an Excel readable form.


Book1
BCDEFGHIJKLMNOPQR
219-Nov-18name
324-Nov-18george
4paul
5drake
6john
7
811/19/201811/20/201811/21/201811/22/201811/23/201811/24/201811/25/201811/26/201811/27/201811/28/201811/29/201811/30/201812/1/201812/2/201812/3/201812/4/2018
9george1111
10paul1111111111
11drake11111
12john11111111111
13kenneth111111
14roy11111
Sheet1


In I3 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($B$9:$B$14,SMALL(IF(FREQUENCY(IF($C$8:$R$8>=$E$2,IF($C$8:$R$8<=$E$3,IF($C$9:$R$14=1,MATCH($B$9:$B$14,$B$9:$B$14,0)))),ROW($B$9:$B$14)-ROW($B$9)+1),ROW($B$9:$B$14)-ROW($B$9)+1),ROWS($1:1))),"")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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