+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Want to return a value based on date range

  1. #1
    Registered User
    Join Date
    04-03-2010
    Location
    Greenville, SC
    MS-Off Ver
    Excel 2007
    Posts
    3

    Want to return a value based on date range

    Ok, I've searched the forums, googled it, tried several functions on my own and I just can't figure this one out.

    Here's what I'd like to do and thanks in advance for any help. It will really put my mind at ease if I can get this spreadsheet working.

    Basically I have various dates in a spreadsheet. If that date for example falls in between March 28th and April 3rd inclusive, I'd like to return a value of "3/28/10" which represents the particular "week of" that the particular dates falls into.

    So whether the date is 3/28, 3/29, 3/30, 3/31, 4/1, 4/2, or 4/3, I'd like to return the value of 3/28. If the date is between April 4th and April 10th then I'd like to just return the value 4/10. I've tried nested ifs, various date functions, and just can't anything that works right =)

    Thanks!!!!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Want to return a value based on date range

    Welcome to the forum.

    =A1-WEEKDAY(A1)+1
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-03-2010
    Location
    Greenville, SC
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Want to return a value based on date range

    You my friend are AWESOME!!!! I think this may become my new favorite forum =) Thanks! Thanks!! Thanks!!!

+ 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