+ Reply to Thread
Results 1 to 2 of 2

make a macro that filter out data with date filter's and conditions

  1. #1
    Registered User
    Join Date
    10-11-2019
    Location
    noida
    MS-Off Ver
    2013
    Posts
    5

    make a macro that filter out data with date filter's and conditions

    I want to make a macro that filter out data with below conditions.
    1)Start time is from 12:00 AM to 10:00 AM for next day like if today is 23April.. than we have to take all data in between 24apr 12:00Am to end time 24Apr 10:00Am
    2)start time is 12:00 AM and end time is 11:59 PM
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-05-2019
    Location
    Tiki Island, TX
    MS-Off Ver
    Office 365
    Posts
    168

    Re: make a macro that filter out data with date filter's and conditions

    The conditions are a little unclear to me. I get condition 1 but when I look at your sample I am confused by condition 2. I read that as the start date was the same date and the finish date and time were the same day at exactly 11:29 PM. However your example includes a result from 11:30 PM. Can you clarify please?

+ 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. FIlter data based on various conditions
    By Vivek2705 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2019, 03:40 AM
  2. Macro to search/filter raw data within date range
    By iqbal.88 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-17-2018, 10:47 AM
  3. Excel - macro/filter to copy data from one sheet to another based on date
    By liqt in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-19-2018, 06:46 PM
  4. VBA - Auto Filter and make new sheets based on the filter values- Loop
    By Paul Cherian in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2017, 06:41 AM
  5. Filter several pivot tables by one programmed date range filter in Excel 2003
    By olewka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2011, 11:49 AM
  6. Filter data by complex conditions.
    By tezr in forum Excel General
    Replies: 8
    Last Post: 08-17-2010, 01:42 PM
  7. Replies: 3
    Last Post: 05-19-2005, 08:06 PM

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