Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MAB
 
Posts: n/a
Default Counting Function

I have a 2500+ line document with different years indicated in column D. How
would I use the count (??) function to count the number of occurances for
1998, 1999, 2000, etc?

The help function isn't very much help to me.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EdMac
 
Posts: n/a
Default Counting Function


=COUNTIF(D1:D2500=1999) - use the year you want

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile: http://www.excelforum.com/member.php...o&userid=30736
View this thread: http://www.excelforum.com/showthread...hreadid=504479

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Counting Function

Type

=COUNTIF(D1:D2500,1999)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"EdMac" wrote in
message ...

=COUNTIF(D1:D2500=1999) - use the year you want

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile:

http://www.excelforum.com/member.php...o&userid=30736
View this thread: http://www.excelforum.com/showthread...hreadid=504479



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MAB
 
Posts: n/a
Default Counting Function

*sigh*

I regretted to provide information that the dates are formatted as
dd/mm/yyyy, so the formulas provided to me will not work.

Is there another way this can be done?

Sorry for the confusion.

Thank you.


"Bob Phillips" wrote:

Type

=COUNTIF(D1:D2500,1999)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"EdMac" wrote in
message ...

=COUNTIF(D1:D2500=1999) - use the year you want

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile:

http://www.excelforum.com/member.php...o&userid=30736
View this thread: http://www.excelforum.com/showthread...hreadid=504479




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Counting Function

Try:
=SUMPRODUCT(--(YEAR(D1:D2500) = 1999))
--
Kevin Vaughn


"MAB" wrote:

*sigh*

I regretted to provide information that the dates are formatted as
dd/mm/yyyy, so the formulas provided to me will not work.

Is there another way this can be done?

Sorry for the confusion.

Thank you.


"Bob Phillips" wrote:

Type

=COUNTIF(D1:D2500,1999)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"EdMac" wrote in
message ...

=COUNTIF(D1:D2500=1999) - use the year you want

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile:

http://www.excelforum.com/member.php...o&userid=30736
View this thread: http://www.excelforum.com/showthread...hreadid=504479






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MAB
 
Posts: n/a
Default Counting Function

This gives me a #VALUE! error message.

Is there anything else I can try?

Thank you,

MAB

"Kevin Vaughn" wrote:

Try:
=SUMPRODUCT(--(YEAR(D1:D2500) = 1999))
--
Kevin Vaughn


"MAB" wrote:

*sigh*

I regretted to provide information that the dates are formatted as
dd/mm/yyyy, so the formulas provided to me will not work.

Is there another way this can be done?

Sorry for the confusion.

Thank you.


"Bob Phillips" wrote:

Type

=COUNTIF(D1:D2500,1999)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"EdMac" wrote in
message ...

=COUNTIF(D1:D2500=1999) - use the year you want

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile:
http://www.excelforum.com/member.php...o&userid=30736
View this thread: http://www.excelforum.com/showthread...hreadid=504479




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
UDF help please Adam Kroger Excel Discussion (Misc queries) 3 December 17th 05 07:21 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


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