ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Calculate business days between 2 dates (https://www.excelbanter.com/excel-discussion-misc-queries/231545-calculate-business-days-between-2-dates.html)

Vic

Calculate business days between 2 dates
 
I need to calculate how many business days between 2 dates.
G2 is report submission date
H2 is report reviewed date
K2 is the result - how many days it took to review the report
My formula is =if(or(isblank(G2),isblank(H2)),"",networkdays(G2, H2))
This formula produces #NAME? in K2
How do I fix the formula (I am using Excel 2003)?


David Biddulph[_2_]

Calculate business days between 2 dates
 
Type the word "networkdays" into Excel help, and see what it tells you.
--
David Biddulph

"Vic" wrote in message
...
I need to calculate how many business days between 2 dates.
G2 is report submission date
H2 is report reviewed date
K2 is the result - how many days it took to review the report
My formula is =if(or(isblank(G2),isblank(H2)),"",networkdays(G2, H2))
This formula produces #NAME? in K2
How do I fix the formula (I am using Excel 2003)?




Vic

Calculate business days between 2 dates
 
Nevermind. Thank you. I already got my answer. It requires Tools = Add-Ins
== Analisys ToolPac installed and the formula should be:
=IF(OR(ISBLANK(G2),ISBLANK(H2)),"",(NETWORKDAYS(G2 ,H2)-1))

"Vic" wrote:

I need to calculate how many business days between 2 dates.
G2 is report submission date
H2 is report reviewed date
K2 is the result - how many days it took to review the report
My formula is =if(or(isblank(G2),isblank(H2)),"",networkdays(G2, H2))
This formula produces #NAME? in K2
How do I fix the formula (I am using Excel 2003)?



All times are GMT +1. The time now is 02:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com