Is it possible to skip weekends while putting a future ship date... for example...
can i dobut skip weekends?Please Login or Register to view this content.
Is it possible to skip weekends while putting a future ship date... for example...
can i dobut skip weekends?Please Login or Register to view this content.
Yep, you need to install the analysis toolpak if not already done.
http://office.microsoft.com/en-gb/ex...001127724.aspx
Then:
=Workday(Start date,days,holidays)
The help explains all the arguments. Your example would be =workday(today(),5)
CC
If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.
Hi Legend,
Do you want to skip only Sunday or Saturday + Sunday
Cheers,
Joshi
Being with a winner makes you a winner
Good morning Legend
how does this sound?
Replace the 5 with the days you want from today.Please Login or Register to view this content.
thanks, now can you tell me if there is a way to round to the nearest whole number, but always round down... so if it were 5.55 it would round to 5.
Hi
See below
Please Login or Register to view this content.
OK, GETTING THERE...what if i want to do all the workdays in any given month without doing it manually...
i want to type the year in one box, the month in the other, and the first working day to pop up...
So what has 5.5 got to do with the workday function!
Regards Kevin
Merged Cells (They are the work of the devil!!!)
read up a little... i skipped back to part of my original problem...
i am setting future dates for shipping and follow-up... so i am using an equation to find out a number of days, but the answer to the equation is not always a whole number, therefor i needed something to round it down... which i got...
now i am back to solving the total problem... 5.5 had nothing really to do with it, just an example for a sub-problem.
I don't see how this is related either, but...
=WORKDAY(DATE(<year>,<month>,0),1)
Can't be bothered reading back!
Perhaps you need to post some sample data, so everyone is not guessing at what you require.
It's not necessary to 'round' the 'number of days' part in the workday function.
The Workday function itself does it for you be default.
As for the new question...
=WORKDAY(DATE(A7,B7,0),1)
A7 = Year #
B7 = Month #
Result is 1st working day of given month/year
Book1.xlsxwell i am sorry to bother you... i dont exactly know where everyone got confused... but anyways i have attached a sample...
@Jonmo1
Thanks, that answers it perfectly.... ignore the last reply that was for Mr.UK.
THanks to everyone.
In C6 put
=WORKDAY(DATE(J3,MONTH((1&J2)),0),1)
In C7 and filled down
=WORKDAY(C6,1)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks