ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Last day of week (https://www.excelbanter.com/excel-worksheet-functions/16861-last-day-week.html)

Job

Last day of week
 
Anyone know how to calculate the last day of the calendar week? Assuming
that you have a date in A1, I need to calculate the last day of the week
(Sunday is first day), for the week that contains the date in A1.

Cheers,

Job



Jason Morin

=A1+7-WEEKDAY(A1)

HTH
Jason
Atlanta, GA

-----Original Message-----
Anyone know how to calculate the last day of the

calendar week? Assuming
that you have a date in A1, I need to calculate the last

day of the week
(Sunday is first day), for the week that contains the

date in A1.

Cheers,

Job


.


Job

Perfect! Thanks Jason.


"Jason Morin" wrote in message
...
=A1+7-WEEKDAY(A1)

HTH
Jason
Atlanta, GA

-----Original Message-----
Anyone know how to calculate the last day of the

calendar week? Assuming
that you have a date in A1, I need to calculate the last

day of the week
(Sunday is first day), for the week that contains the

date in A1.

Cheers,

Job


.




Peo Sjoblom

So you want the coming Saturday except if the date is Saturday?

with the date in A1


=A1+7-WEEKDAY(A1)


--

Regards,

Peo Sjoblom



"Job" wrote in message
...
Anyone know how to calculate the last day of the calendar week? Assuming
that you have a date in A1, I need to calculate the last day of the week
(Sunday is first day), for the week that contains the date in A1.

Cheers,

Job





Ron Rosenfeld

On Wed, 9 Mar 2005 08:51:11 -0700, "Job" wrote:

Anyone know how to calculate the last day of the calendar week? Assuming
that you have a date in A1, I need to calculate the last day of the week
(Sunday is first day), for the week that contains the date in A1.

Cheers,

Job


I guess if Sunday is the first day, that Saturday must be the last day of the
week?

=A1+7-WEEKDAY(A1)


--ron

Bob Phillips

see response in programming

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Job" wrote in message
...
Anyone know how to calculate the last day of the calendar week? Assuming
that you have a date in A1, I need to calculate the last day of the week
(Sunday is first day), for the week that contains the date in A1.

Cheers,

Job






All times are GMT +1. The time now is 09:05 AM.

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