+ Reply to Thread
Results 1 to 4 of 4

Bypass Jan-1900

  1. #1
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Bypass Jan-1900

    Hello

    Excel2007 sheet.
    I m using formula =MAX(IF((Q2:AB2<=$AK$1)*(Q2:AB2>=$AJ$1), Q2:AB2,""))

    In q2:ab2 range column verious dates some is blank.
    In aj1 start date
    In ak1 end date

    As per above formula, display date between start & end date from range.

    But if date not found from range q2:ab2 then display date as Jan-1900 (formating mmm/yyyy)

    I required cell blank: if date is Jan-1900 with using above formula.

    Also we using second formula and second formula is : =INT(AE2-TODAY())
    if ae2 is blank then show #value!
    I also required bypass #value with using formula.
    Required cell balnk : if show #value!
    formating : general
    Last edited by avk; 10-06-2011 at 04:42 PM. Reason: by our mistake not include second problem

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Bypass Jan-1900

    You can format the cell as Custom:

    mmm/yyyy;;;@
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

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

    Re: Bypass Jan-1900

    ...and you can adjust your other formula like this

    =IF(AE2="","",INT(AE2-TODAY()))

    or with IFERROR

    =IFERROR(INT(AE2-TODAY()),"")
    Audere est facere

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Bypass Jan-1900

    Thanks. Our problem solved.

+ 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