+ Reply to Thread
Results 1 to 5 of 5

Date based query

  1. #1
    Registered User
    Join Date
    09-04-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    25

    Date based query

    Hi,
    I am trying to write query based on date differences.
    I want count of records where date difference is 1 day, 2 day and 4 days.

    Please see attached for details and comment.


    I don't want to import / export from access.

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Date based query

    Try using a filter. See here.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Registered User
    Join Date
    09-04-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Date based query

    Thanks for response however I don;t want to take filter route. There are number of conditions and files will be huge. There are chances that user mat mistake while applying the filters hence I am thinking of some formulas which can provide count based on conditions.
    Please comment.

  4. #4
    Registered User
    Join Date
    09-04-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Date based query

    Hi,
    Please can you advice if date based queries can be achived from formulas / macros...
    Thanks

  5. #5
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Date based query

    This what you want?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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