Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calculate the total amount by date

HI everybody, I am very new to VBA

I have an excel table, where Column A storing the dates, Column B
storing the names, and column C storing the scores like this:

A B C
12/12/2005 John 30
12/12/2005 Susan 40
12/12/2005 May 80
15/12/2005 John 70
15/12/2005 Susan 20
15/12/2005 Tom 70

I would like to calculate the average score for each date, and storing
the result to another table. How can I do that?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Calculate the total amount by date

I suggest that you use a pivot table. Put Date in the row area and AVERAGE
of scores in the data area.
--
Gary's Student


"肥權" wrote:

HI everybody, I am very new to VBA

I have an excel table, where Column A storing the dates, Column B
storing the names, and column C storing the scores like this:

A B C
12/12/2005 John 30
12/12/2005 Susan 40
12/12/2005 May 80
15/12/2005 John 70
15/12/2005 Susan 20
15/12/2005 Tom 70

I would like to calculate the average score for each date, and storing
the result to another table. How can I do that?


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
Calculate the amount of time over a permitted amount (12 hours) Steve M Excel Discussion (Misc queries) 9 June 2nd 10 09:25 PM
calculate year-to-date total Blessedx3 Excel Worksheet Functions 2 February 6th 08 05:22 PM
How can I calculate amount of time left based on amount spent? KLD Excel Worksheet Functions 3 May 23rd 06 04:20 PM
calculate price * quantity = total amount in a row of excel forml. t. ramachandra rao Excel Worksheet Functions 0 November 23rd 05 07:46 PM
How do I calculate Amount of Sales Tax from Total Amount? MikeS Excel Worksheet Functions 1 March 26th 05 07:49 PM


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

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"