+ Reply to Thread
Results 1 to 6 of 6

Error in a Formula in getting a date..

Hybrid View

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,522

    Error in a Formula in getting a date..

    I am getting an Error while using this formula..

    LARGE(IF(ISNA(MATCH(FD_RD_EndDt-ROW(INDIRECT("1:10"))+1,Holidays,0)),IF(TEXT(FD_RD_EndDt-ROW(INDIRECT("1:10"))+1,"ddd")<>"Sun",FD_RD_EndDt-ROW(INDIRECT("1:10"))+1)),1)
    where FD_RD_EndDt= 14-Aug-2010

    Holidays:
    26-Jan-10
    12-Feb-10
    19-Feb-10
    27-Feb-10
    01-Mar-10
    16-Mar-10
    24-Mar-10
    28-Mar-10
    01-Apr-10
    02-Apr-10
    14-Apr-10
    01-May-10
    27-May-10
    15-Aug-10
    19-Aug-10
    10-Sep-10
    11-Sep-10
    30-Sep-10
    02-Oct-10
    17-Oct-10
    05-Nov-10
    07-Nov-10
    17-Nov-10
    21-Nov-10
    17-Dec-10
    25-Dec-10

    This formula is used in the 14th ROW..

    I am getting a ZERO value only in this case...

    So please advise whats the error..


    Regards
    e4excel
    Last edited by e4excel; 12-24-2010 at 03:15 PM.

  2. #2
    Registered User
    Join Date
    12-18-2010
    Location
    UK
    MS-Off Ver
    2003, 2007, 2010
    Posts
    79

    Re: Error in a Formula in getting a date..

    What is the formula calculating?
    David
    Access and Excel Developer | UK

  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,522

    Re: Error in a Formula in getting a date..

    Big,

    I am trying to arrive at a date which is 13 months from the FD_RD_EndDt= 14-Aug-2010
    which should not fall on a Sunday and any Holidays...mentioned under the heading HOlidays..
    15-Aug-10
    19-Aug-10


    these two dates cannot be the ones and also any other date which is a "sunday"..

    Please find more details in this link..

    http://www.excelforum.com/excel-work...week-offs.html

  4. #4
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,522

    Re: Error in a Formula in getting a date..

    Stupid Me..

    It was just that I forgot to CNTRL+SHIFT+ENTER it...

    No question at all..

  5. #5
    Registered User
    Join Date
    12-18-2010
    Location
    UK
    MS-Off Ver
    2003, 2007, 2010
    Posts
    79

    Re: Error in a Formula in getting a date..

    I am on an iPad at the moment and so cannot try anything Excel. Will try after Xmas if you are not sorted by then

  6. #6
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,522

    Re: Error in a Formula in getting a date..

    Thanks for the offer BigDatcc..

    Wish You and Everyone a Merry Christmas and a Happy New Year..

    Im done

+ 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