Hi All,
First - thanks for your help.
I am having a hard time getting an answer to this question - probably because I'm not searching it properly.
So, hopefully I can explain it properly.
I am trying to calculate elapsed time (in days) between when one activity is performed (and logged by date in the sheet), to when another activity is performed. I will be using this data to demonstrate service standards.
So in columns AI AJ AK AL AM AN AO of each row, the user would enter a date.
In column BA, I want to calculate the difference between column AI and AJ. In Column BB, I want to calculate the difference between AJ and AK - and so on and so forth.
My big issue is that column AM and AN are dependant on a report provided by others - so this data doesn't always get populated as the process happens - and may not happen for a few weeks. Right now, my formula calculates it as 28975 days elapsed since there is no date.
Is there anyway to combine the max function, with the networkdays function to calculate the difference between the date in cell AO and the greatest date entered before it? Also - note that there should be an IF formula in there that says if the cell AFTER the last completed cell is empty - calculate the difference between the last cell and today's date.
Here is the formula I am using now (would be entered in cell AK)
=IF(AND(ISBLANK(AK4),ISBLANK(AL4)),"",IF(ISBLANK(AL4),NETWORKDAYS(AK4,$C$1,'Data Sheet'!$J$4:$J$42),NETWORKDAYS(AK4,AL4,'Data Sheet'!$J$4:$J$42)))
So, if there is no date in AK or AL - leave cell AK blank. If only AL is blank, calculate the networkdays between the date entered and today. If they both have something in them, calculate the networkdays between the two. But - if AK, AL and AM are blank, AN has a date, AO is blank and AP has a date - how do I calculate the difference between AP and AN?
Where C1 is today's date and the data sheet holds the holidays.
Can any of you smart folks help me?
Bookmarks