#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Correct Count

I'm trying to count the number of names that fall with in a certain alpha
range and numerical range. I can do one or the other but can't seem to do
both. Let's say in column B, I have 20 names ranging from A to Zachary and
in column E, I have numerical values ranging from 1 to 60. I want to count
the number of names that fall between A & Jackson and 11 to 20.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Correct Count

Use cells to hold your criteria:

G1 = A
H1 = Jackson
I1 = 11
J1 = 20

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1))

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
I'm trying to count the number of names that fall with in a certain alpha
range and numerical range. I can do one or the other but can't seem to do
both. Let's say in column B, I have 20 names ranging from A to Zachary
and
in column E, I have numerical values ranging from 1 to 60. I want to
count
the number of names that fall between A & Jackson and 11 to 20.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 857
Default Correct Count

Hi,

Assuming the same layout as Biff, in 2007:

=COUNTIFS(A1:A20,"="&G1,A1:A20,"<="&H1,E1:E20,"= "&I1,E1:E20,"<="&J1)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"GAIDEN" wrote:

I'm trying to count the number of names that fall with in a certain alpha
range and numerical range. I can do one or the other but can't seem to do
both. Let's say in column B, I have 20 names ranging from A to Zachary and
in column E, I have numerical values ranging from 1 to 60. I want to count
the number of names that fall between A & Jackson and 11 to 20.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Correct Count

That helped. Thank you

"T. Valko" wrote:

Use cells to hold your criteria:

G1 = A
H1 = Jackson
I1 = 11
J1 = 20

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1))

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
I'm trying to count the number of names that fall with in a certain alpha
range and numerical range. I can do one or the other but can't seem to do
both. Let's say in column B, I have 20 names ranging from A to Zachary
and
in column E, I have numerical values ranging from 1 to 60. I want to
count
the number of names that fall between A & Jackson and 11 to 20.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Correct Count

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
That helped. Thank you

"T. Valko" wrote:

Use cells to hold your criteria:

G1 = A
H1 = Jackson
I1 = 11
J1 = 20

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1))

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
I'm trying to count the number of names that fall with in a certain
alpha
range and numerical range. I can do one or the other but can't seem to
do
both. Let's say in column B, I have 20 names ranging from A to Zachary
and
in column E, I have numerical values ranging from 1 to 60. I want to
count
the number of names that fall between A & Jackson and 11 to 20.








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Correct Count

have another question for you. using the same info as before. if i added a
column with dollar amounts, how would i add the dollar amounts for the names
that fall between A & Jackson and 11 to 20?

"T. Valko" wrote:

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
That helped. Thank you

"T. Valko" wrote:

Use cells to hold your criteria:

G1 = A
H1 = Jackson
I1 = 11
J1 = 20

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1))

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
I'm trying to count the number of names that fall with in a certain
alpha
range and numerical range. I can do one or the other but can't seem to
do
both. Let's say in column B, I have 20 names ranging from A to Zachary
and
in column E, I have numerical values ranging from 1 to 60. I want to
count
the number of names that fall between A & Jackson and 11 to 20.






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Correct Count

Let's assume the range to sum is F1:F20 -

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1),F1:F20)

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
have another question for you. using the same info as before. if i added
a
column with dollar amounts, how would i add the dollar amounts for the
names
that fall between A & Jackson and 11 to 20?

"T. Valko" wrote:

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
That helped. Thank you

"T. Valko" wrote:

Use cells to hold your criteria:

G1 = A
H1 = Jackson
I1 = 11
J1 = 20

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1))

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
I'm trying to count the number of names that fall with in a certain
alpha
range and numerical range. I can do one or the other but can't seem
to
do
both. Let's say in column B, I have 20 names ranging from A to
Zachary
and
in column E, I have numerical values ranging from 1 to 60. I want
to
count
the number of names that fall between A & Jackson and 11 to 20.








  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Correct Count

Thanks again. It worked.

"T. Valko" wrote:

Let's assume the range to sum is F1:F20 -

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1),F1:F20)

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
have another question for you. using the same info as before. if i added
a
column with dollar amounts, how would i add the dollar amounts for the
names
that fall between A & Jackson and 11 to 20?

"T. Valko" wrote:

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
That helped. Thank you

"T. Valko" wrote:

Use cells to hold your criteria:

G1 = A
H1 = Jackson
I1 = 11
J1 = 20

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1))

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
I'm trying to count the number of names that fall with in a certain
alpha
range and numerical range. I can do one or the other but can't seem
to
do
both. Let's say in column B, I have 20 names ranging from A to
Zachary
and
in column E, I have numerical values ranging from 1 to 60. I want
to
count
the number of names that fall between A & Jackson and 11 to 20.









  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Correct Count

You're welcome!

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
Thanks again. It worked.

"T. Valko" wrote:

Let's assume the range to sum is F1:F20 -

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1),F1:F20)

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
have another question for you. using the same info as before. if i
added
a
column with dollar amounts, how would i add the dollar amounts for the
names
that fall between A & Jackson and 11 to 20?

"T. Valko" wrote:

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
That helped. Thank you

"T. Valko" wrote:

Use cells to hold your criteria:

G1 = A
H1 = Jackson
I1 = 11
J1 = 20

=SUMPRODUCT(--(A1:A20=G1),--(A1:A20<=H1),--(E1:E20=I1),--(E1:E20<=J1))

--
Biff
Microsoft Excel MVP


"GAIDEN" wrote in message
...
I'm trying to count the number of names that fall with in a
certain
alpha
range and numerical range. I can do one or the other but can't
seem
to
do
both. Let's say in column B, I have 20 names ranging from A to
Zachary
and
in column E, I have numerical values ranging from 1 to 60. I
want
to
count
the number of names that fall between A & Jackson and 11 to 20.











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
Correct #N/A Value winnie123 Excel Worksheet Functions 6 February 18th 09 02:17 PM
Formula required to get the correct count. Ravi Excel Discussion (Misc queries) 0 July 28th 08 08:56 PM
Formula required to get the correct count. Ravi Excel Discussion (Misc queries) 0 July 28th 08 08:56 PM
Not sure if count is the correct formula... Excel 2002 Carlo Excel Worksheet Functions 3 April 1st 08 10:49 PM
If with AND - Is this correct? Greg Excel Worksheet Functions 4 March 7th 08 04:01 AM


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