A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula to count data in a column that falls between a range



 
 
Thread Tools Display Modes
  #1  
Old February 5th, 2010, 04:32 PM posted to microsoft.public.excel.worksheet.functions
Paul_UK
external usenet poster
 
Posts: 2
Default Formula to count data in a column that falls between a range

i am trying to count the number of times a number between a range appears in
a column e.g. in sheet 1 i have
column1 Column2
2000 4000
3000 10000
4000 2000
5000 6000
in sheet 2 i have the criteria
A) starts at 1000 and finishes at 1999 B) starts at 2000 and finishes at 3999
C) starts at 4000 and finishes at 10000
in sheet 3 i am trying to summaries sheet 1 data on the sheet 2 criteria
Column 1 Column2
A = 0 0
B = 2 1
C = 2 3
Does anyone know of a count formula i can use to do this

  #2  
Old February 5th, 2010, 04:56 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Formula to count data in a column that falls between a range

Hi,
In sheet 3 enter for criteria A

=countif(sheet1!A1:A10000,"=1999")

copy right to get column B

for criteria B use

=countifis(sheet1!A1:A10000,"1999",sheet1!A1:A100 00,"=3999")

Criteria C

=countif(sheet1!A1:A10000,"3999)

"Paul_UK" wrote:

i am trying to count the number of times a number between a range appears in
a column e.g. in sheet 1 i have
column1 Column2
2000 4000
3000 10000
4000 2000
5000 6000
in sheet 2 i have the criteria
A) starts at 1000 and finishes at 1999 B) starts at 2000 and finishes at 3999
C) starts at 4000 and finishes at 10000
in sheet 3 i am trying to summaries sheet 1 data on the sheet 2 criteria
Column 1 Column2
A = 0 0
B = 2 1
C = 2 3
Does anyone know of a count formula i can use to do this

  #3  
Old February 5th, 2010, 05:41 PM posted to microsoft.public.excel.worksheet.functions
Paul_UK
external usenet poster
 
Posts: 2
Default Formula to count data in a column that falls between a range

Thanks but not what i am looking for it to do, the Value say 2000 as in
criteria A may change so i am looking for the formula to change the count
result if the criteria in sheet 2 changes without having to go back into the
formula and change the = number

"Eduardo" wrote:

Hi,
In sheet 3 enter for criteria A

=countif(sheet1!A1:A10000,"=1999")

copy right to get column B

for criteria B use

=countifis(sheet1!A1:A10000,"1999",sheet1!A1:A100 00,"=3999")

Criteria C

=countif(sheet1!A1:A10000,"3999)

"Paul_UK" wrote:

i am trying to count the number of times a number between a range appears in
a column e.g. in sheet 1 i have
column1 Column2
2000 4000
3000 10000
4000 2000
5000 6000
in sheet 2 i have the criteria
A) starts at 1000 and finishes at 1999 B) starts at 2000 and finishes at 3999
C) starts at 4000 and finishes at 10000
in sheet 3 i am trying to summaries sheet 1 data on the sheet 2 criteria
Column 1 Column2
A = 0 0
B = 2 1
C = 2 3
Does anyone know of a count formula i can use to do this

  #4  
Old February 5th, 2010, 06:11 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Formula to count data in a column that falls between a range

Hi Paul,
I understan now so in sheet2 where you want the criteria just enter for
example if your criteria is as explained in A1 enter 1999, in B1 3999 then
modify the formulas changing 1999 for A1 and 3999 for B1


"Paul_UK" wrote:

Thanks but not what i am looking for it to do, the Value say 2000 as in
criteria A may change so i am looking for the formula to change the count
result if the criteria in sheet 2 changes without having to go back into the
formula and change the = number

"Eduardo" wrote:

Hi,
In sheet 3 enter for criteria A

=countif(sheet1!A1:A10000,"=1999")

copy right to get column B

for criteria B use

=countifis(sheet1!A1:A10000,"1999",sheet1!A1:A100 00,"=3999")

Criteria C

=countif(sheet1!A1:A10000,"3999)

"Paul_UK" wrote:

i am trying to count the number of times a number between a range appears in
a column e.g. in sheet 1 i have
column1 Column2
2000 4000
3000 10000
4000 2000
5000 6000
in sheet 2 i have the criteria
A) starts at 1000 and finishes at 1999 B) starts at 2000 and finishes at 3999
C) starts at 4000 and finishes at 10000
in sheet 3 i am trying to summaries sheet 1 data on the sheet 2 criteria
Column 1 Column2
A = 0 0
B = 2 1
C = 2 3
Does anyone know of a count formula i can use to do this

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.