+ Reply to Thread
Results 1 to 2 of 2

Display a Value based on Today's Date in Date Range

  1. #1
    Registered User
    Join Date
    10-20-2004
    Location
    UK
    Posts
    3

    Display a Value based on Today's Date in Date Range

    Hi,

    I'm looking for some help with two formulas I'm trying to write. I have a list of date ranges, along with a Week Number and Release Number, and based upon today's date need to identify both, for example:

    Start End Week Release
    --------------------------------------------------
    01/07 31/07 1 A
    01/08 31/08 2 B


    So based on today's date (12/07) I would get 1 and A.

    Any help would be appreciated.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Display a Value based on Today's Date in Date Range

    If you have start dates in A2:A10, end dates in B2:B10, Week Numbers in C2:C10 and Release Numbers in D2:D10 then try this formula to get the Week number

    =LOOKUP(TODAY(),A2:A10,C2:C10)

    you can do the same for Release Numbers by changing C2:C10 to D2:D10

    This assumes that you will always have a range including today's date and that date ranges are contiguous, i.e. there are no gaps
    Audere est facere

+ 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