ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   date array shifting (https://www.excelbanter.com/excel-discussion-misc-queries/70399-date-array-shifting.html)

kimdnw

date array shifting
 
In my worksheet I have the formula:
=MAX((NETWORKDAYS(C3,H3, A44:A64)-1)*8+(MOD(H3,1)-MOD(C3,1))*24,0)

(thanks to Bob Phillips for the basics and Sloth for the =MAX(formula,0) to
avoid negative number displays)

So for the portion of the formula (NETWORKDAYS(Start date, Finish date,
Holidays)-1), is there a way to keep the holiday range from shifting as I
copy the formula down the page?



Biff

date array shifting
 
Hi!

Make that range absolute:

=MAX((NETWORKDAYS(C3,H3, A$44:A$64)-1)*8+(MOD(H3,1)-MOD(C3,1))*24,0)

Biff

"kimdnw" wrote in message
...
In my worksheet I have the formula:
=MAX((NETWORKDAYS(C3,H3, A44:A64)-1)*8+(MOD(H3,1)-MOD(C3,1))*24,0)

(thanks to Bob Phillips for the basics and Sloth for the =MAX(formula,0)
to
avoid negative number displays)

So for the portion of the formula (NETWORKDAYS(Start date, Finish date,
Holidays)-1), is there a way to keep the holiday range from shifting as I
copy the formula down the page?





kimdnw

date array shifting
 
Thanks, Biff!

Kim

"Biff" wrote:

Hi!

Make that range absolute:

=MAX((NETWORKDAYS(C3,H3, A$44:A$64)-1)*8+(MOD(H3,1)-MOD(C3,1))*24,0)

Biff




All times are GMT +1. The time now is 12:06 AM.

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