Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Finding the total number of instances per year

it doesn't seem like it should be all that difficult. I have a column with
several (650+) dates going back to 1975. I'd now like a table that tells me
how many entries I have per year. How would I go about doing that?

Similarly, I have category columns where a particular instance fit into that
category, I entered an "X". How would I now go about figuring out how many
of each category occured each year?

Thank you in advance. You are all lifesavers!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 857
Default Finding the total number of instances per year

Hi,

Two solutions come to mind:

1. Use a pivot table
2. Use a formula like
=SUMPRODUCT(--(YEAR(A1:A650)=1975)
or
=SUMPRODUCT(--(YEAR(A1:A650)=B1)
where B1 contains 1975

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"Rob" wrote in message
...
it doesn't seem like it should be all that difficult. I have a column
with
several (650+) dates going back to 1975. I'd now like a table that tells
me
how many entries I have per year. How would I go about doing that?

Similarly, I have category columns where a particular instance fit into
that
category, I entered an "X". How would I now go about figuring out how
many
of each category occured each year?

Thank you in advance. You are all lifesavers!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Finding the total number of instances per year

I have a column with several (650+) dates going back to 1975.
I'd now like a table that tells me how many entries I have per year.


Try a pivot approach. Fast n easy.

Assuming real dates running in A2 down, with col header: Date in A1.
Select say, A2, then click Data Pivot table. Click Next Next. In step 3
of the wiz., click Layout, then drag n drop "Date" into both ROW and DATA
areas. Click OK Finish. Hop over to the pivot sheet. Right-click on "Date"
Group & Show Detail Group. In the Grouping dialog, select Years OK, to

get the required results.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,000 Files:370 Subscribers:66
xdemechanik
---

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Finding the total number of instances per year

try using Countif for both of yours requirement, something along this

=COUNTIF(A:A,"1975")

Does this do what you want ? of not, pls post back with samples

HTH
--
Appreciate you click on the Yes button below if this posting was helpful :)

Thank You

cheers, francis



"Rob" wrote:

it doesn't seem like it should be all that difficult. I have a column with
several (650+) dates going back to 1975. I'd now like a table that tells me
how many entries I have per year. How would I go about doing that?

Similarly, I have category columns where a particular instance fit into that
category, I entered an "X". How would I now go about figuring out how many
of each category occured each year?

Thank you in advance. You are all lifesavers!

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
Age calculator and Total number of year counting Arvind Saxena Excel Discussion (Misc queries) 5 August 7th 07 09:24 AM
Total instances of the same numbers from one column? Aimcorep Excel Worksheet Functions 2 April 26th 07 06:11 PM
Finding the date using the number of the week in a year Bhupinder Rayat Excel Worksheet Functions 2 March 30th 07 11:20 AM
Finding all instances of an ink color ldd Excel Discussion (Misc queries) 1 October 3rd 05 11:25 PM
Finding number of values in a range on a per year basis LyleB_Austin Excel Worksheet Functions 2 September 20th 05 09:49 PM


All times are GMT +1. The time now is 05:55 PM.

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

About Us

"It's about Microsoft Excel"