+ Reply to Thread
Results 1 to 6 of 6

Search under a date date range

  1. #1
    Forum Contributor
    Join Date
    03-19-2014
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    101

    Search under a date date range

    Hi

    I am looking for a formula that can search for the result under a date that fits certain search criteria.

    The attachment has an example.

    I am using the results to populate a graph eventually.

    Thanks

    Ten.xlsx

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Search under a date date range

    Got the solution..

    Check the attachment..



    Don't forget to click *
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Search under a date date range

    I used a macro to rearange the data, so they are easily put in a pivot table.

    Push on the button on the output sheet and the date will update.

    After that I made an graph of the data (as example, it also can be a line-graph).

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Search under a date date range

    Probably Vikas_Gautum put me on the right track.

    I changed the macro, so there are also the values of the weekly in the table.

    In the pivot table, you can also change to other jobs.

    Do you have questions or comments, just ask or comment.

    See the attached file.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Search under a date date range

    That looks like a nice solution from Vikas. However, he did not add in your requirement also to match against the term "Provider". I have added that into his formula.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Search under a date date range

    in b3=SUMPRODUCT(('1'!$D$2:$M$2='2'!B2)*('1'!$A$3:$A$10='2'!$B$10)*('1'!$D$3:$M$10))
    in b4==SUMPRODUCT(('1'!$D$2:$M$2='2'!B2)*('1'!$A$14:$A$21='2'!$B$10)*('1'!$D$14:$M$21))

    drag upto k
    Click just below left if it helps, Boo?ath?

+ 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. Search date range +/- 7 days and return date that falls within range
    By tlafferty in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-13-2013, 03:26 PM
  2. Search range for a date
    By denfan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-09-2012, 10:20 AM
  3. Search for keywords in a date range
    By excelgroupie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2012, 02:40 PM
  4. Search for a date or date range.
    By Shin278 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2011, 07:30 PM
  5. Search Date within Date Range
    By sach0025 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2007, 02:30 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