Figured it out by using an Excel
formula;Thanksgiving Day
==============================================================
=DATE(E5,11,29)-WEEKDAY(DATE(E5,11,24))
In this case “E5” is the cell where
the year number is located)
Thanks, everyone, for your efforts.
<!--
@page { margin: 0.79in }
H1 { margin-bottom: 0.08in }
H1.western { font-family: "Ubuntu"; font-size: 11pt }
H1.cjk { font-family: "Droid Sans"; font-size: 16pt }
H1.ctl { font-family: "Lohit Hindi"; font-size: 16pt }
P { margin-bottom: 0.08in }
A:link { so-language: zxx }
-->On 12/03/2012 10:47 AM, Dennis E. Hamilton wrote:
You should get a lot of responses on this.
US Thanksgiving is always the 4th Thursday in November.
So, the first thing you want to do is find out what day of the week November 1, yyyy, in a
particular year is. (There are functions for this).
Then find out how many days later the first Thursday is. (In 2012, the answer is 0.) You'll have
to work this out based on how day-of-week is counted.
Add that number of days and 21 more to the November 1, yyyy date value. That will show you the
date of Thanksgiving in year yyyy. (For 2012, the correct answer is November 22, 2012.)
- Dennis
-----Original Message-----
From: . [mailto:Look@eBookRing.net]
Sent: Monday, December 03, 2012 02:59
To:users@global.libreoffice.orgSubject: [libreoffice-users] Calc formula for US Thanksgiving date
I need a formula for Calc to determine the US Thanksgiving date for a
given year.
Thanks--www.eBookRing.netThe designer and maker of the original eBookRing
The perfect stand for eReaders, iPads, iPhones, tablet computers and other electronic devices.
Patent Pending
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.