+ Reply to Thread
Results 1 to 6 of 6

find nearest last date from tody date

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    Japan
    MS-Off Ver
    Excel 2007
    Posts
    17

    find nearest last date from tody date

    Hello,

    Need a formula in cell O3, which chose nearest last date from yellow highlighted cells and reflect in cell o3.

    For example, if sheet open today, in cell O3, date should show Nov 1- 2013, if opened on nov 07,2015, date in O3 should show NOv -1-2015.

    Thanks.
    SB
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: find nearest last date from tody date

    Try this...
    =HLOOKUP(TODAY(),J3:N3,1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    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: find nearest last date from tody date

    =MAX(IF(J3:N3 < TODAY(), J3:N3))

    The formula MUST be confirmed with Crl+Shift+Enter rather than just Enter.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: find nearest last date from tody date

    shg, thanks for the feedback

  5. #5
    Registered User
    Join Date
    10-21-2013
    Location
    Japan
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: find nearest last date from tody date

    shg, FDibbins, thanks for your help. it worked.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: find nearest last date from tody date

    Happy to help, thanks for the feedback

+ 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. [SOLVED] Find the Exact date, Nearest old and new date for the given input Letter) and date
    By thilag in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2015, 05:13 AM
  2. [SOLVED] exact date, nearest old and new dates for the given date
    By thilag in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-17-2015, 02:39 AM
  3. Matching with a nearest date in a date range?
    By mrxlsx in forum Excel General
    Replies: 2
    Last Post: 05-05-2015, 01:23 PM
  4. Compare and find nearest date with criteria
    By Dwexdwex in forum Excel General
    Replies: 4
    Last Post: 08-18-2013, 09:51 AM
  5. Find nearest available date that meets criteria
    By scottylad2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-16-2013, 03:17 PM
  6. [SOLVED] Calculate the nearest date to the result date
    By SuzanneG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2012, 04:32 AM
  7. How to find nearest date to that of given
    By TRJJK73 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2008, 06:30 PM

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