Hello,
i need to calculate number of weekends bettwene two dates, but i have a problem. If i calculate dates with added time, formula dosen't work. I want to get 1 but i get 0.
Thanks
Without hour.jpg
With hour.jpg
Hello,
i need to calculate number of weekends bettwene two dates, but i have a problem. If i calculate dates with added time, formula dosen't work. I want to get 1 but i get 0.
Thanks
Without hour.jpg
With hour.jpg
You have attached an image. That's not very easy to work with. Also... I'm lazy. I have to re-type your information before I can begin to address your problem. That puts me off completely. Not only that, but (depending on their choice of browser) many other members cannot even see the image.
So. Do yourself a favour and please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough). However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever).
Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
Make sure confidential info is removed first!!!!
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
You can use function INT to remove time of date-time value.
Try this:
(D2-C2+1)-NETWORKDAYS.INTL(C2,D2,1,0)
C2= Start Date
D2= End Date
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks