Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count number of rows in excel

Status
Not open for further replies.

mickeync

Programmer
Jan 26, 2003
28
US
Hi all,
I need help to figure out how many sales for each sales person based on the Date Sales: For example:
----------------------------------------
Salesperson Company Name Date Sales
---------------------------------------
Smith ABC 1/1/2003
Smith XYI 4/5/2003
John CDE 3/4/2003
John XXX 5/7/2003
Joe AAA 4/4/2003
----------------------------------------
Is there any way to create a formula to count how many times for each sales for each salesperson such as Smith: 2; John: 2; Joe: 1. Any help would be greatly appreciated.



 
Hi,

You can use a pivot table or subtotal wizard

I did this in about 30 seconds using subtotal wizard...
Code:
Salesperson  Company Name  Date Sales
Smith        ABC\          1/1/2003
Smith        XYI           4/5/2003
Smith Count                2
John         CDE           3/4/2003
John         XXX           5/7/2003
John Count                 2
Joe          AAA           4/4/2003
Joe Count                  1
Grand Count                5
:)

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884

Skip,
 
I thought there might be a pivot table comment coming from you Skip... :)



[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Thanks a million !!! It worked !!! I mean "pivot table" really nice ....

Have a good day to all !!!
 
If you haven't used a Pivot Table before, you might lik e this link which will give you an intro and some good tips:-


Regards
Ken.............

----------------------------------------------------------------------------
[peace]It's easier to beg forgiveness than ask permission[2thumbsup]

----------------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top