+ Reply to Thread
Results 1 to 5 of 5

If "Today" is between 2-dates

  1. #1
    Registered User
    Join Date
    04-04-2015
    Location
    Phoenix
    MS-Off Ver
    365
    Posts
    6

    If "Today" is between 2-dates

    I'm trying to develop a formula that scans an entire row of dates (Row 2) and determines where "Today" falls into that range. When the value comes back as TRUE, then the corresponding Percentage above (Row 1) is reported in cell B12.

    In the attached spreadsheet, since today is 4/22/2015, the value in B12 would be 13.98%. (same would be true if today was 4/20/2015). This would automatically change to 18.21% on 4/27/2015. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: If "Today" is between 2-dates

    Try this formula

    =INDEX($C$1:$CA$1,MATCH(B11,C$2:CA$2))

    format cell as percentage with 2 decimal
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: If "Today" is between 2-dates

    Put in B12:

    =INDEX(C1:CA1,MATCH(B11,C2:CA2))

  4. #4
    Registered User
    Join Date
    04-04-2015
    Location
    Phoenix
    MS-Off Ver
    365
    Posts
    6

    Re: If "Today" is between 2-dates

    Amazing! Thanks.

  5. #5
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: If "Today" is between 2-dates

    As dates are in order.. you can try this too..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using "AND," "OR," and "TODAY()" in conditional formatting
    By KArnoldColumbia in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-18-2013, 01:17 PM
  2. condit. format: If date in cell = today, display "Today"
    By ratkins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2013, 01:33 PM
  3. Filter Dates to Reflect: "Today - 30 days or More"
    By Gard5096 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-11-2012, 11:42 AM
  4. "IF()" function using "TODAY()" to produce a value in days
    By Rob.Marchel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2012, 09:12 PM
  5. Replies: 3
    Last Post: 03-10-2005, 05:06 AM

Tags for this Thread

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