M
MOTOGEEK
I'm trying to use the date function to set some
parameters to compute a sales pace function.
For example, today is April 10th. I have sold 10 units so
far this month. Therefor my sales pace is 10units/10days
X the number of days in the month (30) - Holidays
(easter=-1). The simple answer is 29 (one a day)
The challenges are as follows:
1. Date is a volatile function. How can I have the date
stay the same so the computations aren't refigured each
time the file is re-opened?
2. The date then needs to return a number equal to the
number of the day, so that it can be subtracted from the
number of days in the month.
3. Is there a function that will compute the number of
days in that particular month, based on the date, perhaps
allowing for a substraction of Holidays? (Being a retail
location, we are open every day except major holidays,
such as Christmas, Easter, and Thanksgiving (US))
OpenOffice.org's Calc speadsheet has a "DAYSINMONTH"
function, that can compute the 2nd question, but is has a
volatile date function.
I don't mind putting the date in, (in fact, it would
allow the worksheet to be computed after the fact,
without changing the computer's date), but I can't seem
to find a days of month function in Excel.
Any ideas?
Pat
parameters to compute a sales pace function.
For example, today is April 10th. I have sold 10 units so
far this month. Therefor my sales pace is 10units/10days
X the number of days in the month (30) - Holidays
(easter=-1). The simple answer is 29 (one a day)
The challenges are as follows:
1. Date is a volatile function. How can I have the date
stay the same so the computations aren't refigured each
time the file is re-opened?
2. The date then needs to return a number equal to the
number of the day, so that it can be subtracted from the
number of days in the month.
3. Is there a function that will compute the number of
days in that particular month, based on the date, perhaps
allowing for a substraction of Holidays? (Being a retail
location, we are open every day except major holidays,
such as Christmas, Easter, and Thanksgiving (US))
OpenOffice.org's Calc speadsheet has a "DAYSINMONTH"
function, that can compute the 2nd question, but is has a
volatile date function.
I don't mind putting the date in, (in fact, it would
allow the worksheet to be computed after the fact,
without changing the computer's date), but I can't seem
to find a days of month function in Excel.
Any ideas?
Pat