+ Reply to Thread
Results 1 to 14 of 14

Adding Business days on a date problem

Hybrid View

  1. #1
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Adding Business days on a date problem

    Hello !!

    The first column contains dates that come from an index function ,in the second column I use the workday function to add working dates ,
    Would you know why this happens with the error values ?

    14/11/12 #VALUE!
    6/11/12 06/19/12
    15/11/12 #VALUE!
    8/11/12 08/20/12
    24/10/12 #VALUE!
    22/10/12 #VALUE!
    15/11/12 #VALUE!
    9/10/12 09/18/12

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding Business days on a date problem

    Hi

    Pls share with us the formulas that you use in these 2 columns
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Adding Business days on a date problem

    In the first column I used the Formula : =IFERROR(INDEX(cda, SMALL(IF(FREQUENCY(IF(cda<>"", MATCH(ROW(cda), ROW(cda)), ""), MATCH(ROW(cda), ROW(cda)))>0, MATCH(ROW(cda), ROW(cda)), ""), ROW(I7)), COLUMN(I7)), "")

    and in the second coulm : =(workday(cell,1)

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding Business days on a date problem

    Use =ISNUMBER(A1) and copy down to test if ALL cells in column A are numbers(dates) OR some for some reason are text.

    Check if exist some spaces.

    Try to add in the end of your formula +0.

    Or else i think that we need to see how your data looks like and we'll need a sample workbook.

  5. #5
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Adding Business days on a date problem

    I copied the isnumber formula in the source of the data and I get False for all the 6 digit dates but true for the 5digit ones

    eg.
    11/15/12 false
    4/05/12 true

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding Business days on a date problem

    Instead of 0, in the 5 digits date, maybe you have a space or something..

    Does =LEN(a1) gives you 5 as result?

  7. #7
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Adding Business days on a date problem

    The 6 digit dates are the problem ,

    I used len(a1) and I get 8 for the 6 digit dates and 5 for the 5 digit dates

  8. #8
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Adding Business days on a date problem

    sample.xlsx

    Here is a sample

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding Business days on a date problem

    The format in cells that give error, has only 2 digits for the year . Example A1 IS,23/10/12( So in fact is text...). iF you do this 23/10/2012 will get a TRUE .....

  10. #10
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Adding Business days on a date problem

    I changed it and I still get False could it be some configuration Ive made .

    Or maybe I changed from dd/mm/yy to mm/dd/yy ??

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding Business days on a date problem

    Use Text to Columns option to get a real date.

    Can you handle this?

  12. #12
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Adding Business days on a date problem

    sample2.xlsx

    This is the source I copy dates from ,but it is in text how can i make it date ? I use format as date but nothing happens

  13. #13
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Adding Business days on a date problem

    Thanks a Lot Foti !!!!

    I got it working with text to column !!!

  14. #14
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding Business days on a date problem

    Glad that i was able to helps you.

+ 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