+ Reply to Thread
Results 1 to 6 of 6

Help querying a date range and returning a value

Hybrid View

  1. #1
    Registered User
    Join Date
    07-28-2014
    Location
    CO
    MS-Off Ver
    2013
    Posts
    15

    Help querying a date range and returning a value

    I am trying to set up a query to search a date range within a table in one sheet based upon a more narrow date range in a second sheet AND return a simple count, median currency value or value based upon a ratio (see attachment).

    Note: the Sale Price, List Price and Supply values will be based upon the filtered date range (each quarter) and return a value based upon that range. The Sale Price and List Price also need to be a median within each quarter value so I can chart the data.

    Help.pdf

    Here is what I need to return:

    Num Sales - simple count from each quarter

    Num Listings - simple count from each quarter

    Sales Price - median value within each queried date range

    List Price - median value within each queried date range

    Supply - numeric value based upon absorption rate, supply = listings each quarter / absorption rate (absorption rate = sales each quarter / months each quarter)


    Thanks in advance!

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Help querying a date range and returning a value

    looks like a textbook pivot table application, but can you post an example of an actual worksheet to show you on?
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    07-28-2014
    Location
    CO
    MS-Off Ver
    2013
    Posts
    15

    Re: Help querying a date range and returning a value

    Here is my data set that I am querying. I am hoping to code the first table that I have attached with the formulas.

    Sheet1.pdf

    Thanks!

  4. #4
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Help querying a date range and returning a value

    Sorry, by "worksheet" I meant excel file. Can you upload a spreadsheet to work with?

  5. #5
    Registered User
    Join Date
    07-28-2014
    Location
    CO
    MS-Off Ver
    2013
    Posts
    15

    Re: Help querying a date range and returning a value

    Help.xlsx

    Here ya go...

  6. #6
    Registered User
    Join Date
    07-28-2014
    Location
    CO
    MS-Off Ver
    2013
    Posts
    15

    Re: Help querying a date range and returning a value

    Have you had a chance to take a look yet?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Returning a date from a range if date falls between two other dates
    By sdavison in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-25-2013, 03:59 AM
  2. returning a value from a date range
    By quickbrwnfox in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-01-2010, 09:42 PM
  3. Replies: 3
    Last Post: 08-14-2009, 07:48 AM
  4. Querying a range from within excel
    By David Wright in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-03-2006, 07:50 AM
  5. Querying a range within Excel
    By David Wright in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-01-2006, 03:55 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1