Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Count IF Function

Dear all

I have a column with multi same entries and i want to count them as per
category.
So if i have in colum b same entries such as "category a" for 20 entries
in a column with 5000 entries and bring them by sort filter, how i can count
them after that?

Any way to do ti by count if fomrula?


Thaks for your time


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Count IF Function

You don't need to filter:
=COUNTF(B1:B5000,"catagory a")
--
Gary''s Student - gsnu200771
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Count IF Function

Thank you Gary
but after filtering i have 250 lines with category a 20 times, category b
100, category c 130
show i want to shee count 3, 1 for category a, category b and category c,
the uniq, such group by.

Any suggestions?

Sorry i didn't make it clear earlier.


"Gary''s Student" wrote:

You don't need to filter:
=COUNTF(B1:B5000,"catagory a")
--
Gary''s Student - gsnu200771

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Count IF Function

=SUBTOTAL(103,B2:B5000) returns the number of currently filtered rows.
Regards,
Stefi


€˛Manos€¯ ezt Ć*rta:

Thank you Gary
but after filtering i have 250 lines with category a 20 times, category b
100, category c 130
show i want to shee count 3, 1 for category a, category b and category c,
the uniq, such group by.

Any suggestions?

Sorry i didn't make it clear earlier.


"Gary''s Student" wrote:

You don't need to filter:
=COUNTF(B1:B5000,"catagory a")
--
Gary''s Student - gsnu200771

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Count IF Function

Thank you Stefi.
Ok i count them how can i group by.....?
i have the total, inside i want to count only the unic entries... not the
double.



"Stefi" wrote:

=SUBTOTAL(103,B2:B5000) returns the number of currently filtered rows.
Regards,
Stefi


€˛Manos€¯ ezt Ć*rta:

Thank you Gary
but after filtering i have 250 lines with category a 20 times, category b
100, category c 130
show i want to shee count 3, 1 for category a, category b and category c,
the uniq, such group by.

Any suggestions?

Sorry i didn't make it clear earlier.


"Gary''s Student" wrote:

You don't need to filter:
=COUNTF(B1:B5000,"catagory a")
--
Gary''s Student - gsnu200771



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Count IF Function

Maybe you need to sort your table by column B, then subtotal by column B
using Count function.
Make sure you have a header in row 1!

Give an example if you need more help! I don't understand how do you want to
count unique entries.

Stefi



€˛Manos€¯ ezt Ć*rta:

Thank you Stefi.
Ok i count them how can i group by.....?
i have the total, inside i want to count only the unic entries... not the
double.



"Stefi" wrote:

=SUBTOTAL(103,B2:B5000) returns the number of currently filtered rows.
Regards,
Stefi


€˛Manos€¯ ezt Ć*rta:

Thank you Gary
but after filtering i have 250 lines with category a 20 times, category b
100, category c 130
show i want to shee count 3, 1 for category a, category b and category c,
the uniq, such group by.

Any suggestions?

Sorry i didn't make it clear earlier.


"Gary''s Student" wrote:

You don't need to filter:
=COUNTF(B1:B5000,"catagory a")
--
Gary''s Student - gsnu200771

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Count IF Function

Try also a pivot table, which gets you the results in a matter of seconds.
Select just the col B range, inclusive the col label in B1 (let's assume the
label is: "Cat"). Click Data PivotTable. Click Next Next. In step 3,
click Layout. Drag n drop "Cat" into both the ROW and DATA area. Click OK
Finish. That's it. Hop over to the pivot sheet (to the left) for the results,
ie a uniques listing of all the categories, and the total counts for each.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Count IF Function

I can not use pivot table
here is an example

colum b -- filter -- custtom (begins with 2000)
the it gives me 8000 rows.
then in thses filter i have common entries.
So i want to count the unique entires
for example i have 150 rows and the rest are double entries

Thank you for your entry

"Max" wrote:

Try also a pivot table, which gets you the results in a matter of seconds.
Select just the col B range, inclusive the col label in B1 (let's assume the
label is: "Cat"). Click Data PivotTable. Click Next Next. In step 3,
click Layout. Drag n drop "Cat" into both the ROW and DATA area. Click OK
Finish. That's it. Hop over to the pivot sheet (to the left) for the results,
ie a uniques listing of all the categories, and the total counts for each.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

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
COUNT Function Richard Excel Worksheet Functions 3 March 12th 07 04:38 PM
Count function Liz23 Excel Worksheet Functions 2 March 15th 06 02:21 PM
using the count function barklek Excel Discussion (Misc queries) 3 August 22nd 05 01:00 PM
Count Function Help Josh O. Excel Worksheet Functions 4 July 29th 05 11:04 PM
Sum and Count Function Daniell Excel Worksheet Functions 0 November 2nd 04 12:03 AM


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