Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2006

Tip: Looking for answers? Try searching our database.

grouping and subtotal by month

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bix - 11 Jul 2006 07:09 GMT
Hi
i want know how to count subtotals based on month.
Please see the below description'

I have three sheets in excel.

These sheets contain a column which has month name in it. Something
like below

MONTH

Jun-06
Jun-06
Jun-06
Jun-06
Jun-06
Jun-06
Jul-06
Jun-06
Jul-06
Jul-06
Jul-06

I have a another sheet in which I need to calculate the number of
records for each month. Something like below.
I should get data from the 3 sheets and populate the number of cases in
that month in the fourth sheet.

Month-Year                  No of cases

Jan-06                        0

Feb-06                       0

Mar-06                       0

Apr-06                       0

May-06                     0

Jun-06                      7

Jul-06                        4

Aug-06                       0

and so on....

thanks in advance

Signature

bix

swatsp0p - 11 Jul 2006 12:33 GMT
You can use the COUNTIF function to do what you ask.

Assuming your Month column is in column A on Sheet1 and your Month-Yea
is in column A on Sheet2, use the following formula in column B o
Sheet2:

=COUNTIF(Sheet1!$A$1:$A$100,Sheet2!A1)   adjust the $A$1:$A$100 rang
as needed

copy this formula down as far as needed.

NOTE:  ensure the Month/Year data is EXACTLY the same on both sheets.
If in date format, ensure the Excel dates match.  Could also use a tex
entry such as " 'Jun-06 " in both sheets.

Good luc

--
swatsp0

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.