Formula to pull and display all entries in a date range - PLEASE HELP!

Rebeccah83

New Member
Joined
Jun 30, 2016
Messages
7
I am building a report which needs to display all entries on a separate sheet where the entry falls into a date range.

Sheet1 (report) The start date is in B3. End date is in D3.

Sheet2 (data) Dates are displayed in column B. Array to pull is Column B through AU.

So, if the start date is 6/15/2016 and the end date is 6/26/2016, I need all rows from Sheet2 where the date falls within that range to display in Sheet1.

BONUS:
I also need to sort based on "Employees". Sheet1 is F3. Sheet2 is column C.
If F3 reads "All Employees", all rows meeting the date criteria should be listed.
If F3 reads "Steve Handy", only rows in the date range and with employee Steve Handy should display.

I have tried multiple formulas so far (several hours of work) and am at my wits end.

Thank you for your assistance.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Welcome to the forum,

Have a look at recording a macro to apply filters on the sheet and then adapt it to use the cell id's from sheet one, recording is found under the View Tab.
 
Upvote 0
Hi,


to add to Trevor:

If your need is formula's will need to know what the max number of lines will be you'll have to pull from the data sheet.
Several options come to mind but looking at your bonus VBA would be most feasible.
 
Last edited:
Upvote 0
Trevor G - As I will not be the one using this report, it is very important I attempt to keep it as automated as possible - leading to my avoidance of macros.

jorismoerings - The maximum number of lines to pull should be 250.

Thank you both for your replies.
 
Upvote 0

Forum statistics

Threads
1,216,460
Messages
6,130,765
Members
449,589
Latest member
Hana2911

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