Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional count if function

Hello,

Can any one please let me know how to take the count pertaining to a
condition, Example: Range of Values in a colomun and need to take the count
of the value's in range between i.e., The values are from A to Z in a column,
find out the count of value if "A" < = "B", or the count of "A" is in
between the range 1 to 2
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Conditional count if function

See SUMPRODUCT in Excel Help
--
Gary''s Student - gsnu200909
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Conditional count if function

Hello,

You might want to start with Sumproduct:
http://sulprobil.com/html/sumproduct.html

But maybe you will end up with a pivot table.

Regards,
Bernd
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Conditional count if function

Do you mean

=SUMPRODUCT((A1:A25="a")*(A1:A25<="c"))

If this post helps click Yes
---------------
Jacob Skaria


"Narendar" wrote:

Hello,

Can any one please let me know how to take the count pertaining to a
condition, Example: Range of Values in a colomun and need to take the count
of the value's in range between i.e., The values are from A to Z in a column,
find out the count of value if "A" < = "B", or the count of "A" is in
between the range 1 to 2

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional count if function

Very confusing!

"A" < = "B"


Can you explain in words what that means?

See if this is what you had in mind.

...........A..........B
1........Z.........1.5
2........A........1.2
3........A........0.9
4........C........1.4
5........A........2.1
6........A........2.0

Count instances where column A = A and column B is =1 and <=2.

=SUMPRODUCT(--(A1:A6="A"),--(B1:B6=1),--(B1:B6<=2))

Result = 2 (row 2 and row 6)

Better to use cells to hold the criteria.

D1 = A
E1 = 1
F1 = 2

=SUMPRODUCT(--(A1:A6=D1),--(B1:B6=E1),--(B1:B6<=F1))

--
Biff
Microsoft Excel MVP


"Narendar" wrote in message
...
Hello,

Can any one please let me know how to take the count pertaining to a
condition, Example: Range of Values in a colomun and need to take the
count
of the value's in range between i.e., The values are from A to Z in a
column,
find out the count of value if "A" < = "B", or the count of "A" is in
between the range 1 to 2



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
A conditional Sum & Count keerthyV Excel Worksheet Functions 3 April 14th 09 02:48 PM
Please help me with a Conditional Count... SisterDell Excel Discussion (Misc queries) 4 March 22nd 07 05:03 PM
Conditional function with count anamarie30 Excel Worksheet Functions 6 March 12th 07 02:28 PM
Conditional Count Ralph Excel Worksheet Functions 2 December 1st 05 06:27 PM
Using Count function with a conditional range Phil Excel Worksheet Functions 3 September 25th 05 11:52 AM


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

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"