LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 69
Default How to pull only dates within a requested dynamic range

Hello:
I have two tabs in a workbook. The 1st tab will be the user interface. The
2nd tab will be the database of information. Both tabs are set up with
identical column headers.

In the 1st tab, the user will select a start and end date (for a date range)
and also a department. I want to create a macro or something whereby it will
pull only lines of data that relate to dates that fall within that date range
and also department.

For example, the user selects 4/18/10-4/21/10 and dept 66 on tab 1. If on
the 2nd data source tab, there is an item listed in dept 66 with a date range
of 4/21/10-4/22/10, I would like it to still capture and pull the information
into the 1st tab. Although the ranges don't match up exactly, the important
thing is that there is some crossover between the date ranges so it should be
included in the data pull.

How do I get it to pull the full line of applicable data from the 2nd tab
into the 1st tab?

Thank you! Roady
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pull value of a range within a range of data CCrew2000 Excel Discussion (Misc queries) 2 May 31st 07 08:16 PM
pull down calendar to insert dates & times R Dunn Excel Discussion (Misc queries) 2 January 10th 07 01:32 AM
Graphing Recommendation Requested for Dynamic Data [email protected] Charts and Charting in Excel 0 December 10th 06 07:53 PM
Need to pull current dates from list w/many dates mcilpuf Excel Discussion (Misc queries) 4 February 20th 06 09:05 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM


All times are GMT +1. The time now is 02:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"