PC Review


Reply
Thread Tools Rate Thread

Average Calculation for Sunday School Year Long Goal

 
 
Thomas Almanza
Guest
Posts: n/a
 
      13th Jan 2010
I am trying to maintain an average of 35 in Sunday School. Each week I input the number of attendees in my excel file. I need a formula that will tell me how many I need next Sunday, to make my year long goal of 35 as an average. For Ex:

A B C

1 Date # of Attendees #needed next week to avg 35

2 1/3/10 34 (? Formula so #36 would show)

3 1/10/10 38 (? Formula so #34 would show)

4. Etc. Etc. Etc.

Please help!


Submitted via EggHeadCafe - Software Developer Portal of Choice
Using the WebResource.axd Handler with Embedded ASP.NET Resources
http://www.eggheadcafe.com/tutorials...sourceaxd.aspx
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      14th Jan 2010
With headers in row 1 and data starting in row 2, I used this in C2:

=35*(COUNT(B$1:B2)+1)-SUM(B$1:B2)
(and dragged down)

But this means you could end up with negative number of required attendees.

=max(0,35*(COUNT(B$1:B2)+1)-SUM(B$1:B2))
would show 0 if you're already assured of hitting 35 as the average.

And if you want to make sure that you don't see a number until the number of
attendees is entered:

=if(b2="","",max(0,35*(COUNT(B$1:B2)+1)-SUM(B$1:B2)))
(and drag down)

Thomas, Almanza wrote:
>
> I am trying to maintain an average of 35 in Sunday School. Each week I input the number of attendees in my excel file. I need a formula that will tell me how many I need next Sunday, to make my year long goal of 35 as an average. For Ex:
>
> A B C
>
> 1 Date # of Attendees #needed next week to avg 35
>
> 2 1/3/10 34 (? Formula so #36 would show)
>
> 3 1/10/10 38 (? Formula so #34 would show)
>
> 4. Etc. Etc. Etc.
>
> Please help!
>
> Submitted via EggHeadCafe - Software Developer Portal of Choice
> Using the WebResource.axd Handler with Embedded ASP.NET Resources
> http://www.eggheadcafe.com/tutorials...sourceaxd.aspx


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Average Goal Calculation Thomas Almanza Microsoft Excel Misc 4 13th Jan 2010 02:41 PM
attendance record for Sunday school only sunday school attendance Microsoft Access Forms 1 13th Jan 2010 02:16 AM
Sunday School Lesson Template =?Utf-8?B?RWxvbmE=?= Microsoft Powerpoint 2 24th Sep 2005 08:57 PM
Does anyone have a Template for a Baptist Sunday School "Certific. =?Utf-8?B?QSBTdW5kYXkgU2Nob29sIERpcmVjdG9y?= Microsoft Word Document Management 1 28th Aug 2004 03:38 AM
Comparing y-t-d average between 2 years for each year without surpassing present year's week Yvon Microsoft Excel Misc 2 13th Jul 2004 04:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:20 AM.