Error - template LAYOUT-DATA-WRAPPER not found

A configuration error was detected in the CGI script; the LAYOUT-DATA-WRAPPER template could not be found.

Error - template STYLE-SHEET not found

A configuration error was detected in the CGI script; the STYLE-SHEET template could not be found.

Error - template SUB-TOP-BANNER not found

A configuration error was detected in the CGI script; the SUB-TOP-BANNER template could not be found.
Subject:
From:
Tony Beckett <[log in to unmask]>
Reply To:
PCSOFT - Personal Computer software discussion list <[log in to unmask]>
Date:
Mon, 22 Sep 2008 16:12:24 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
Mark asked for a formula that gives the first day of the 
next month based on cell E19 which contains =TODAY()

One way to do this is to have in cell B8, Marks reference 
cell, the following:-

=DATE(YEAR(E19),MONTH(E19)+1,1)

This makes use of three date functions.
DATE(year, month, day) : MONTH() : YEAR()

"day" is always 1 - the first day of the month.
"month" uses the MONTH() function and picks up the current 
month from E19 and adds 1
"year" turned out to be easier than I expected as when you 
use YEAR(E19) when it is the last day of the year Excel is 
clever enough to realise that 1 day added to the last day 
of the year puts the function result into the next year. It 
also handles leap years.

Regards

Tony
Rutland, UK

             PCSOFT maintains many useful files for download
                     visit our download web page at:
                  http://freepctech.com/downloads.shtml

ATOM RSS1 RSS2

LISTSERV.ICORS.ORG Secured by F-Secure Anti-Virus CataList Email List Search Powered by LISTSERV