Dynamic table that extracts records that meet 2 criteria (Date Range)

KevinJA

New Member
Joined
Apr 30, 2015
Messages
1
Hi,

I am trying to create a dynamic table that extracts records that fall between a certain date range. I am unable to get the list to populate.

My formula is as Follows:
{=IF(ROWS(L$9:L9<=$M$2,INDEX(INDIRECT(L$8),SMALL(IF(Add_time>=$C$3,IF(Add_time<=$D$3, ROW(Owner)-ROW(Formula!E2)+1)),ROWS(L$9:L9))),"")}

Excel%20meetings%20booked.PNG


I based on this tutorial: https://youtu.be/NbP-dHau9-I

Here is a link to the file:
https://www.dropbox.com/s/s2cmqooa4lny03n/sales stats 6 - clean.xlsm?dl=0

I have identified 2 potential reasons it will not work.
1) The formula requires reference to a cell that says how many records meet the criteria (M2). I can't get this number to populate correctly.
Current Formula: =COUNTIFS (Add_time,">="&C3, Add_time,"<="&D3)
I have also tried:=SUMPRODUCT((Add_time>=C3)*(Add_time<=D3))
but to no avail

2) Formula!E2 above is supposed to indicate where the first record is (i think). It does not appear to be a valid reference though (it is not colored)

These are my best guesses. I am actually trying to do this twice. Once for meetings booked in the last week, the other for all upcoming meetings (these are sales stats from our sales team). For all upcoming meetings i just changed the range to all meetings in the next year)

Appreciate any help you can provide on this. Pulling my hair out right now. THANKS!

Kevin
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,215,219
Messages
6,123,678
Members
449,116
Latest member
HypnoFant

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