+ Reply to Thread
Results 1 to 3 of 3

Weird Calculation error: First value only?!!!???

  1. #1
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    393

    Weird Calculation error: First value only?!!!???

    Once again, I am having trouble with a work project and need your help!!!

    In the attached simplified workbook there are 3 worksheets.

    The data worksheet is simply where all the raw data is stored, and the Bits worksheet is where the data validation will be stored.
    The issue is in the Chart worksheet.

    This worksheet is a glorified Gantt chart which records the 3 data stages as outlined in the Data worksheet……Current, Amended and Final.
    Cells L6 to TM6 show the maximum time lapse of the project BUT for workdays ONLY, as my companies does not work weekends, BUT insist in setting duration days for projects in total days including weekends!!!

    In the Chart worksheet, cell A6 is the important cell.

    Changing this cell via data validation populates the correct details from the data sheet, BUT the corresponding Gantt does not show exactly what I want.

    The problem is that after adding a check column (Col K), the first REAL value is always WRONG!!!!!

    Could someone please suggest what is going wrong, and advise how I can stop this error....thus effectively finishes my project!!

    Thanks for looking

    Skyping.

    P.S The test workbook I have attached only shows a sample of the data, so full functionality is not available, but this will not effect the result. Additionality I cant break the links , and as time is running short have simply left them....therefore please dont update.
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,747

    Re: Weird Calculation error: First value only?!!!???

    This is not a calculation error.

    Your timeline in Chart row 6, starting in L6, starts on 12/2/2013, which is forced to be a weekday by your formula. But the start date in cell B8 is 12/1/2013, which is a Sunday. Therefore there is no entry in the Gantt chart for the very first day, and you see only the next 4 days. You have to either make sure all tasks start on a weekday, or allow the calendar to start on the same day that the earliest task starts.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    393

    Re: Weird Calculation error: First value only?!!!???

    Hi Jeff,

    Thanks for the reply.

    I thought my calculation in H5 resolved this, as this is where L6 is derived from. I knew that weekend starts would or could cause problems, but I simply cannot seem to work it out!!!! Can you suggest an adaption of formula which would take things into consideration?

    Regards,

    Skyping

+ 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. weird number entry calculation
    By stvsteve in forum Excel General
    Replies: 2
    Last Post: 11-21-2012, 12:33 PM
  2. Weird Error!! Can someone help please
    By cgi_pro in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-22-2006, 08:42 AM
  3. Weird error
    By Adi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-02-2006, 12:25 AM
  4. Weird interger calculation
    By Troi-Xanh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-14-2005, 01:06 PM
  5. Weird error
    By Brad K. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-20-2005, 03:06 AM

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