Frequency calculation

S

Stephanie

Hi. I have a report to track how many hours our volunteers
give a year. I've used DateDiff to calculate the Shift
hours per Volunteer. But I can't figure out how to
multiply that by the frequency. For example, if I have a
volunteer that volunteers 2 hour shifts weekly, I want to
have a total of 104 hours (if my math is correct!) a year.

How can I accomplish this? I'm thinking a calculated field
but can't quite figure it out. Thanks in advance!

Stephanie
 
G

Guest

Stphanie, if youm would post the applicable table structure and what/how you
calculate what you have done so far maybe someone can help.
Fons
 
S

Stephanie

Thanks for the offer. I have Volunteering table with
EventStart, EventEnd, and FrequencyID. For each
volunteer I calculate the diff between the Start and End:
=(DateDiff("n",[VolunteeEventStart],
[VolunteerEventEnd]))/60

Now I want to be able to multiply by the Frequency. So
if a volunteer is volunteering 2 hours monthly, I'd like
to be able to report that we are giving 24 hours a year
to the community. Frequency is a text field (monthly)so
I don't know if I need another field with a number (12)
or if I should use a calculated field. And I'm not sure
how to multiply in the report.
Thanks for your help! Stephanie
 
G

Guest

Stephanie, You can calculate in a report much like in a query. FOr instance
if you have a sum for a time for the period of One month, than you can place
an umbound textbox in your report and as the source you would type "=
[SumTime]*12"
Everything between the " " on one line. Substitute the name of your
variables as needed. Similarly you could have a Sum per week and multiply by
52 to obtain a yearly estimate.
Hope this helps.
Fons

Stephanie said:
Thanks for the offer. I have Volunteering table with
EventStart, EventEnd, and FrequencyID. For each
volunteer I calculate the diff between the Start and End:
=(DateDiff("n",[VolunteeEventStart],
[VolunteerEventEnd]))/60

Now I want to be able to multiply by the Frequency. So
if a volunteer is volunteering 2 hours monthly, I'd like
to be able to report that we are giving 24 hours a year
to the community. Frequency is a text field (monthly)so
I don't know if I need another field with a number (12)
or if I should use a calculated field. And I'm not sure
how to multiply in the report.
Thanks for your help! Stephanie
-----Original Message-----
Stphanie, if youm would post the applicable table structure and what/how you
calculate what you have done so far maybe someone can help.
Fons


.
 
S

Stephanie

Thanks for the help. I may not have used the most
streamlined solution, but the report gives the figures I
need. Thanks- I appreciate the lesson. Stephanie
-----Original Message-----
Stephanie, You can calculate in a report much like in a query. FOr instance
if you have a sum for a time for the period of One month, than you can place
an umbound textbox in your report and as the source you would type "=
[SumTime]*12"
Everything between the " " on one line. Substitute the name of your
variables as needed. Similarly you could have a Sum per week and multiply by
52 to obtain a yearly estimate.
Hope this helps.
Fons

Stephanie said:
Thanks for the offer. I have Volunteering table with
EventStart, EventEnd, and FrequencyID. For each
volunteer I calculate the diff between the Start and End:
=(DateDiff("n",[VolunteeEventStart],
[VolunteerEventEnd]))/60

Now I want to be able to multiply by the Frequency. So
if a volunteer is volunteering 2 hours monthly, I'd like
to be able to report that we are giving 24 hours a year
to the community. Frequency is a text field (monthly) so
I don't know if I need another field with a number (12)
or if I should use a calculated field. And I'm not sure
how to multiply in the report.
Thanks for your help! Stephanie
-----Original Message-----
Stphanie, if youm would post the applicable table structure and what/how you
calculate what you have done so far maybe someone can help.
Fons

:

Hi. I have a report to track how many hours our volunteers
give a year. I've used DateDiff to calculate the Shift
hours per Volunteer. But I can't figure out how to
multiply that by the frequency. For example, if I have a
volunteer that volunteers 2 hour shifts weekly, I
want
to
have a total of 104 hours (if my math is correct!)
a
year.
How can I accomplish this? I'm thinking a
calculated
field
but can't quite figure it out. Thanks in advance!

Stephanie

.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top