ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Auto placement of date (https://www.excelbanter.com/excel-discussion-misc-queries/23494-auto-placement-date.html)

Carolyn

Auto placement of date
 
Is there a way to have the date of the Sunday following the date the
spreadsheet is opened to automatically entered?

Carolyn E. Weiss

Don Guillett

try
=F7-WEEKDAY(F7-1)+7-(WEEKDAY(F7)=6)*7

--
Don Guillett
SalesAid Software

"Carolyn" wrote in message
...
Is there a way to have the date of the Sunday following the date the
spreadsheet is opened to automatically entered?

Carolyn E. Weiss




Carolyn

Thank you. Is there a value I should have in F7? I get #NUM in the cell I
put this formula in.


"Don Guillett" wrote:

try
=F7-WEEKDAY(F7-1)+7-(WEEKDAY(F7)=6)*7

--
Don Guillett
SalesAid Software

"Carolyn" wrote in message
...
Is there a way to have the date of the Sunday following the date the
spreadsheet is opened to automatically entered?

Carolyn E. Weiss





Carolyn

Don:

I put the TODAY function in F7 and got 05/1/05 in the cell I put this
formula. Neat!
Many thanks.

Carolyn
"Don Guillett" wrote:

try
=F7-WEEKDAY(F7-1)+7-(WEEKDAY(F7)=6)*7

--
Don Guillett
SalesAid Software

"Carolyn" wrote in message
...
Is there a way to have the date of the Sunday following the date the
spreadsheet is opened to automatically entered?

Carolyn E. Weiss





Don Guillett

glad it helped

--
Don Guillett
SalesAid Software

"Carolyn" wrote in message
...
Don:

I put the TODAY function in F7 and got 05/1/05 in the cell I put this
formula. Neat!
Many thanks.

Carolyn
"Don Guillett" wrote:

try
=F7-WEEKDAY(F7-1)+7-(WEEKDAY(F7)=6)*7

--
Don Guillett
SalesAid Software

"Carolyn" wrote in message
...
Is there a way to have the date of the Sunday following the date the
spreadsheet is opened to automatically entered?

Carolyn E. Weiss








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

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