Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Counting Instances of a Value?

Hi there, i have a column, and within each column, it will either say:

Joe, Paul or Neil - and in the next column, it will have a value, i want to
count the values for each name

e.g.


A B

3 Neil
2 Joe
3 Neil
4 Paul


Neil = 6
Joe = 2
Paul = 4


I dont know how to achieve this ??


any help greatly apreciated,

Thanks,
neil




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Counting Instances of a Value?

Neil,

You can use the SUMIF function to do this. For example,

=SUMIF(B1:B10,"Neil",A1:A10)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Neil" wrote in message
...
Hi there, i have a column, and within each column, it will

either say:

Joe, Paul or Neil - and in the next column, it will have a

value, i want to
count the values for each name

e.g.


A B

3 Neil
2 Joe
3 Neil
4 Paul


Neil = 6
Joe = 2
Paul = 4


I dont know how to achieve this ??


any help greatly apreciated,

Thanks,
neil






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Counting Instances of a Value?

=SumIf(B1:B5,"=Neil",A1:A5)


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
Counting Consecutive Instances carl Excel Worksheet Functions 3 September 24th 07 07:08 PM
Counting instances in string John in Wembley Excel Discussion (Misc queries) 11 September 18th 07 06:51 PM
Counting instances of text??? tpmax Excel Worksheet Functions 7 June 27th 07 03:54 AM
Counting Multiple Instances Curtis Excel Worksheet Functions 3 January 31st 07 06:22 PM
Counting instances in a cell [email protected] Excel Discussion (Misc queries) 2 December 11th 04 03:14 PM


All times are GMT +1. The time now is 08:44 AM.

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"