ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Subtracting dates: 8/31/05-8/1/05? (https://www.excelbanter.com/excel-discussion-misc-queries/37077-subtracting-dates-8-31-05-8-1-05-a.html)

dstock

Subtracting dates: 8/31/05-8/1/05?
 

I am trying to subtract the current date from the last business day of
the month, both being business days only.

So today is 7/26/05 and last business day is 7/29/05, so
7/29/05-7/26/05 = 3 days.

I have one cell with the current date. So that cell minus last business
day equals the balance of the month. Any help is appreciated, thanks.


--
dstock
------------------------------------------------------------------------
dstock's Profile: http://www.excelforum.com/member.php...o&userid=24225
View this thread: http://www.excelforum.com/showthread...hreadid=390198


olasa


Try this
=ABS(NETWORKDAYS(A1,A2))-1

HTH
Ola Sandström


--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=390198



All times are GMT +1. The time now is 08:47 AM.

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