Round The weekday

  • Thread starter Thread starter ShirleyT
  • Start date Start date
S

ShirleyT

Dear expert,
I've got a question here :
How to I formulate in order to let the weekday to round into the same week
Friday ??

Example : if
A1= Aug 16, i want it to determine and become in
A2 =Aug 20,

Another example :

A1= Aug 18 , --> become in to
A2= Aug 20.


Friday is the start day.


Greatly appreicated for help.

Thanks.
ST
 
Dear Frank,
Thank you, however this work only partial right.
See, if

Aug 27 is a Friday. I want the outcome remain the same
that is if
A1= Aug27 then
A2= Aug 27

Saturday will be my beginning of the week. Friday is the end of the week.

Thank again for all the help.


Regards,
ST
 
Ya...work perfect.
Thanks so much for your help.



Cheers.
Good day.

Regards,
ST
 
=A1-WEEKDAY(A1-4,3)+7*(WEEKDAY(A1,3)<>4)

or

=A1-(WEEKDAY(A1+1))+7


Regards

Sandy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top