+ Reply to Thread
Results 1 to 4 of 4

Thread: add simultaneously monthly values to get quarterly values

  1. #1
    Registered User
    Join Date
    10-01-2008
    Location
    Singapore
    Posts
    1

    add simultaneously monthly values to get quarterly values

    Dear all,

    I'm new in the forum so please forgive me if my question is too obvious.
    I of course did some research on this forum before posting.

    I have monthy entries from 1993 to 2008 and I would like to get the quarterly values for each column.
    Basically every 3 rows I would like to insert in the first column 'q quarter of year yyyy' and in the other columns the sum of each corresponding values.

    I wonder if I should do that with excel formulas or use a macro. My knowledge of excel is limited, I can do that by importing the file into a db and calculate it but maybe it is faster using excel.

    I attach an sample in case

    thank you very much for your help!

    Sarah
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    01-03-2006
    Location
    Taranaki, New Zealand
    MS-Off Ver
    2007 (work & home)
    Posts
    2,242
    hi,

    Have you considered using a pivot table (PT) to summarise your data?

    Here's a good site with links that explaining PT's:
    http://www.peltiertech.com/Excel/Pivots/pivotlinks.htm

    & an actual example of using a PT to report on quarterly info:
    http://www.contextures.com/xlPivot07.html#Dates

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  3. #3
    Valued Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    290
    hi Crystaldew,

    try this formula,

    =SUMPRODUCT((YEAR($A$2:$A$189)=$J3)*(ROUNDUP(MONTH($A$2:$A$189)/3,0)=1)*($B$2:$E$189))
    this will give you the sum of the 1st quarter, then change bold figure to either 2,3 or 4 for each of the quarters.


    hope it helps
    reg
    Attached Files Attached Files
    Last edited by reggie1000; 10-01-2008 at 11:03 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    618

    See the attachment

    Try this
    I'm sure it's what you want
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Userform's listbox values depending on values on certain matrix
    By Juhanen II in forum Excel Programming
    Replies: 11
    Last Post: 08-19-2008, 08:01 AM
  2. converting monthly data to quarterly
    By Amosbaba in forum Excel Programming
    Replies: 1
    Last Post: 12-12-2007, 02:14 AM
  3. How to show monthly values
    By svn_pie in forum Excel General
    Replies: 2
    Last Post: 11-18-2007, 01:46 PM
  4. Monthly to Quarterly Conversion
    By dgdot in forum Excel General
    Replies: 2
    Last Post: 04-03-2007, 08:10 PM
  5. Better Approach to Generating Quarterly and Annual Reports
    By bridge4uus in forum Excel General
    Replies: 1
    Last Post: 10-02-2006, 11:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0