+ Reply to Thread
Results 1 to 8 of 8

How do I pull dates which fall into the range from today until 30 days from to day?

  1. #1
    Registered User
    Join Date
    04-20-2009
    Location
    bakersfield
    MS-Off Ver
    Excel 2003
    Posts
    10

    How do I pull dates which fall into the range from today until 30 days from to day?

    Hello Excel experts,
    I got this problem I can’t solve, maybe it is easy to solve, but I am fairly new to writing functions in excel.
    I got a lot of different dates in single column, what I need is to pull the dates if they fall in to the range, from today till 30 days from now.
    I understand it calls for array formula.
    Please look at attached sample workbook “dates”.
    Any good suggestions,
    I thank you in advance!
    Attached Files Attached Files
    Last edited by guntar; 04-23-2009 at 07:05 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do I pull dates which fall into the range from today until 30 days from to da

    In C3 enter:

    Please Login or Register  to view this content.
    in D3 enter:

    Please Login or Register  to view this content.
    and confirm it with CTRL+SHIFT+ENTER instead of just ENTER..

    Then copy it down column D as far as the last item in column B.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How do I pull dates which fall into the range from today until 30 days from to da

    Here's how I would do it without an array formula. The helper column C added could be hidden...
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    04-20-2009
    Location
    bakersfield
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: How do I pull dates which fall into the range from today until 30 days from to da

    Thank you NBVC and JBeaucaire very much,
    I really dose what I wanted both array and reg. formula.
    What about if I want to lookup dates in multiple columns, and return a list of dates from today till 30 days from today?
    I attached file “muli_col” which represent very closely my original document I am working on.
    Thank you very much
    Attached Files Attached Files

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How do I pull dates which fall into the range from today until 30 days from to da

    If you're going to post on multiple forums, the rules HERE state you post a link to the other postings so helpers can see what, if anything, has already been accomplished. It is only fair that you not keep relevant answers and work already provided hidden, so include links to other places you've posted.

    http://www.mrexcel.com/forum/showthread.php?t=386009

    If you haven't read the forum rules, please do so.

    This isn't a rule on the other forum, but it is still the courteous thing to do.
    Last edited by JBeaucaire; 04-23-2009 at 06:57 PM.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How do I pull dates which fall into the range from today until 30 days from to da

    Same answer for non-array.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-20-2009
    Location
    bakersfield
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: How do I pull dates which fall into the range from today until 30 days from to da

    Okay JBeaucaire, It makes sense.
    Thank you.

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How do I pull dates which fall into the range from today until 30 days from to da

    If that takes care of your need, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [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