OK - I'm having an issue and the details follow...
The Purpose / Function
OK - so the purpose of this is to calculate the days remaining between the committed completion date for a task and the current date. The lookup checks the task's status column against an array for Active/Inactive status so that the days remaining cell can be set null if the task is inactive (complete, held etc...) and the second (nested if) sets the cell to null if there is no commit date - or calculates the number of days remaining otherwise.
The Formula
=IF(VLOOKUP(X2,Reference!$A$42:$B$56,2)="Inactive","",IF(AA2="","",(NETWORKDAYS(TODAY(),AA2))))
Relevant Columns / Variables
* X - the status column for the row
* AA - The commit date column for the row
* Reference - a worksheet containing reference values - the noted array pairs status values with either "Inactive" or "Active"
* Both date columns are short date data
The Issue
When the commit date = "today" NETWORKDAYS() returns "-2"
Thoughts?
Bookmarks