Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default how do you use microsoft excel to calculate year to date average

i am setting up a spreadsheet for work and want to be able to enter monthly
statistics and have a year to date percentage calculation. i want to be able
to sit with employees each month a say this is your sales figures for Jan,
Feb ... and so far this is your year to date sales average. Each time I get
new monthly statistics and enter into the spreadsheet I want the year to date
average to change.
Hope this is clear enough to understand what my objective is

thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default how do you use microsoft excel to calculate year to date average

On 12 Jun, 21:41, deana wrote:
i am setting up a spreadsheet for work and want to be able to enter monthly
statistics and have a year to date percentage calculation. i want to be able
to sit with employees each month a say this is your sales figures for Jan,
Feb ... and so far this is your year to date sales average. Each time I get
new monthly statistics and enter into the spreadsheet I want the year to date
average to change.
Hope this is clear enough to understand what my objective is

thanks


Sub haydn()
icolumn = 1
irow = ActiveSheet.UsedRange.Rows.Count
Cells(irow + 1, icolumn).Formula = "=Average(" & ((Chr(icolumn + 64))
& "1:" & (Chr(icolumn + 64)) & irow & ")")
End Sub

Peter

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
Averaging cells in separate workbooks to make year-to-date average alisah Excel Discussion (Misc queries) 7 August 13th 08 09:27 PM
Calculate Average for same period last year irish_hp Excel Discussion (Misc queries) 3 April 16th 08 11:22 AM
calculate year-to-date total Blessedx3 Excel Worksheet Functions 2 February 6th 08 05:22 PM
Calculate a date based on period and year Sam Excel Worksheet Functions 5 August 27th 07 07:11 AM
Microsoft Excel : How can we get the date of the Monday of Week 44 of Year 2005? datt350 Excel Worksheet Functions 1 June 9th 05 01:04 PM


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

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

About Us

"It's about Microsoft Excel"