Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default YTD average cust calulation

Hi, I have the following schedule. Basicall, I would like to drive my YTD
average customer calculation by input month.
Is there a simple formula to achieve that?
for example, if you input June, YTD average cust automated calculated as 4.72

YTD average cust is calculated as:
(Jan consump+Feb consump+...)/(Jan consump/Jan cust+Feb consump/Feb cust...)


Input month June

Jan Feb Mar Apr May YTD
consump 20.00 30.00 40.00 60.00 50.00 200.00
cust 2.00 4.00 5.00 7.00 6.00
cons/cust 10.00 7.50 8.00 8.57 8.33 42.40


YTD Average cust 4.72

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default YTD average cust calulation

G'day zy1972 (No name submitted)

I think this is something what your looking for.

Column "N" is the overall monthly average = [YTD]/[Count] (Count = the
number of [Month Cells] that have a value 0.

A B C D E
F G H I J K
L M N O P

1 Jan Feb Mar Apr
May Jun Jul Aug Sep Oct Nov
Dec By Mth TYD Count

2 Consump 20.00 30.00 40.00 60.00 50.00
40.00 200.00 5

3Cust 2 .00 4.00 5.00 7.00
6.00
4.80 24.00 5

4

5Con/Cust 10.00 7.50 8.00 8.57 8.33
8.48 8.33 5


This is how it looks in formula view


A B C D E
F M N O
P

1 Jan Feb Mar Apr
May Dec By Mth TYD
Count

2 Consump 20.00 30.00 40.00 60.00 50.00
=O2/P2 =SUM(B2:M2) =COUNTIF(B2:M2,"0")

3Cust 2 .00 4.00 5.00 7.00
6.00 =O3/P3 =SUM(B2:M2)
=COUNTIF(B3:M3,"0")

4

5Con/Cust =IF(B3="","",(B2/B3)) copy to each month.
=SUM(B5:M5)/P5 =IF(O3="","",(O2/O3)) =COUNTIF(B5:M5,"0")


The Monthly Average & YTD will automatically update each time you enter new
values

HTH
Mark.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default YTD average cust calulation

Oops!

Doesn't display the array very well, I will send you the file directly.

It will help you better.

Mark.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default YTD average cust calulation

send me you direct email address to



I will then send you the file for you to look at.

HTH
Mark.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Time Calulation Randy Excel Discussion (Misc queries) 6 May 7th 08 10:22 PM
CALULATION OF DURATION 3R Excel Discussion (Misc queries) 2 April 23rd 08 11:44 AM
Another Time Calulation Question - Sorry. Dugster New Users to Excel 7 November 27th 07 11:27 PM
how do I hide a calulation error in cells/table #div/0! Dave Excel Discussion (Misc queries) 1 November 13th 07 08:16 AM
Getpivot calulation KD Excel Worksheet Functions 1 May 25th 07 10:39 PM


All times are GMT +1. The time now is 02:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"