+ Reply to Thread
Results 1 to 4 of 4

returning a value if a date falls between two dates

  1. #1
    Registered User
    Join Date
    03-29-2008
    Posts
    4

    returning a value if a date falls between two dates

    Hello,

    I need help in returning a value if the date entered falls on a specified range. Please refer to the attached file.

    I want Week to return the Week Number where the date i entered falls.

    Example: if the Date entered is 01/20/09, Week should return the value 4.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    21,528

    Re: returning a value if a date falls between two dates

    Perhaps

    F9: =INDEX(A2:A12,MATCH(E9,B2:B12))

  3. #3
    Registered User
    Join Date
    03-29-2008
    Posts
    4

    Re: returning a value if a date falls between two dates

    wow! thats exactly what I need.

    Thank you very much

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    21,528

    Re: returning a value if a date falls between two dates

    No problem... based on your sample file you could dispense with the INDEX and just use the MATCH if the week numbers commence from 1 and increment by 1 each time, ie:

    F9: =MATCH(E9,B2:B12)

+ 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