#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Grouping data

Hi, I have a worksheet where data is imported from an Access Database.

Column A contains the month and year on mmm-yy format and is in descending
order i.e. latest month is always at the top.

Column B contains a number

There is about 10 years worth of data.

I need to arrive at a way where I see can instantly the sum of column B for
any year's data. Added to the problem that it has to match the Academic
Year which for us starts in August and ends the following July

Is this possible? And if so can someone point me in the right direct on
going about this.

Many thanks

A

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Grouping data


Alex Hammerstein;281215 Wrote:
Hi, I have a worksheet where data is imported from an Access Database.

Column A contains the month and year on mmm-yy format and is in
descending
order i.e. latest month is always at the top.

Column B contains a number

There is about 10 years worth of data.

I need to arrive at a way where I see can instantly the sum of column B
for
any year's data. Added to the problem that it has to match the
Academic
Year which for us starts in August and ends the following July

Is this possible? And if so can someone point me in the right direct
on
going about this.

Many thanks

A


Hi,
you can use a Pivot Table and group the dates by year.
You van set beginning and end of year as you wish

HTH


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=78534

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Grouping data

Hello Alex,

Your date format is a little bit unfortunate. I would recommend to use
my UDF Sfreq (see www.sulprobil.com) if your MMM-YY would be easier to
use.

Regards,
Bernd
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Grouping data

Excel 2003

presume your start date is in C1, end date in D1

in C2 insert the formula:

=SUMPRODUCT((A1:A65536=C1)*(A1:A65536<=D1),--B1:B65536)



or this array formula (to be inserted with CTRL+SHIFT+ENTER)

=SUM(IF((A1:A65536=C1)*(A1:A65536<=D1),B1:B65536, ))


for Excel 2007 you may increase the range over 65536 rows

HTH


On 24 Mar, 15:40, Alex Hammerstein wrote:
Hi, *I have a worksheet where data is imported from an Access Database.

Column A contains the month and year on mmm-yy format and is in descending
order i.e. latest month is always at the top.

Column B contains a number

There is about 10 years worth of data.

I need to arrive at a way where I see can instantly the sum of column B for
any year's data. * Added to the problem that it has to match the Academic
Year which for us starts in August and ends the following July

Is this possible? And if so can someone point me in the right direct on
going about this.

Many thanks

A


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 269
Default Grouping data

I have had the saem issue with Fiscal year calcs

Use this formula to convert the dates to Academic Year (put them in another
column like C)

=if(month(A1)<8,year(A1),year(A1)+1)

Then use a sum if formula

=SUMIF(C2:C500,2008,B2:B500)

This will add values in column B where Column C=2008

"Alex Hammerstein" wrote:

Hi, I have a worksheet where data is imported from an Access Database.

Column A contains the month and year on mmm-yy format and is in descending
order i.e. latest month is always at the top.

Column B contains a number

There is about 10 years worth of data.

I need to arrive at a way where I see can instantly the sum of column B for
any year's data. Added to the problem that it has to match the Academic
Year which for us starts in August and ends the following July

Is this possible? And if so can someone point me in the right direct on
going about this.

Many thanks

A


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
Grouping data Newbee New Users to Excel 1 June 20th 08 04:37 AM
Grouping data MaR Excel Discussion (Misc queries) 1 July 26th 06 12:01 PM
Grouping Data ForgetMeNot Excel Worksheet Functions 1 March 23rd 06 01:18 PM
Grouping Data ForgetMeNot Excel Worksheet Functions 1 March 23rd 06 08:09 AM
data grouping Todd Excel Worksheet Functions 2 January 30th 05 07:03 PM


All times are GMT +1. The time now is 10: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"