+ Reply to Thread
Results 1 to 5 of 5

Thread: Return a value if the date lands between a row of dates

  1. #1
    Registered User
    Join Date
    06-30-2011
    Location
    san francisco
    MS-Off Ver
    Excel 2007
    Posts
    3

    Return a value if the date lands between a row of dates

    How to return a value if the date displayed land between a row of dates? Example

    B1: Date: 6/10/2011

    Row 3: has dates on a quarterly basis (6/30/2011,9/30,2011, etc)

    Cell B2 displays value.

    see attached
    Attached Files Attached Files
    Last edited by treyes; 06-30-2011 at 04:18 PM.

  2. #2
    Valued Forum Contributor tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    USA
    MS-Off Ver
    Excel 2003 - 2007
    Posts
    2,352

    Re: Return a value if the date lands between a row of dates

    treyes,

    In your attachment, there's nothing in B1 or B2. What value are you looking to have returned?

    ~tigeravatar

  3. #3
    Registered User
    Join Date
    06-30-2011
    Location
    san francisco
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Return a value if the date lands between a row of dates

    Thank you tiger,

    Excuse the confusion. I'm looking to have returned the values that are in cell E5 if the Sale Date (cell D5) lands in between or on the quarterly end dates starting on rows F3:J3. I would like the values to be displayed in F5 thru J32.
    Hopefully this makes sense.

    Thanks again.

  4. #4
    Valued Forum Contributor tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    USA
    MS-Off Ver
    Excel 2003 - 2007
    Posts
    2,352

    Re: Return a value if the date lands between a row of dates

    treyes,

    Attached is a modified version of your sample workbook. In cell F5 is the following formula:
    =IF(AND($D5>E$3,$D5<=F$3),$E5,"-")

    Then I copied over and down for each section

    Hope that helps,
    ~tigeravatar
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-30-2011
    Location
    san francisco
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Return a value if the date lands between a row of dates

    Much appreciated tiger! 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.2.0