Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how to countif when using indirect cell

Hi all,

I have several colums I am using with numbers in them. These columms
scretch for a few hundred rows. Below are two colums going 100 rows.

I only want to work with certain range, so in B1 and B2 cell I indicate the
starting cell and the ending cell. The example belwo shows start at A2 and
finish at A80

I find the average with the following
C1=average(indirect(B1):indirect(b2)


I am having touble with the next formula. I would now like to count the
number of cells that are between a certain % of the average.

Thanks for you time

A B C D E
1 11 A2 result of average # of cells between 0% & 10%
of average
2 22 A80 # of cells between 11%
& 20% of average
3 25 # of cells between
21% & 30%
4 37 # of cells between
31% & 40%
5 55 ...
6 56
7 61
8
9
10
..
..
..100
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default how to countif when using indirect cell

The formula for getting the count meeting the condition C1 and < C2 in the
range A1:A100 is
=SUMPRODUCT(--(A1:A100C1),--(A1:A100<C2))

if you have A1 in B1, A100 in B2
then all you have to do is replace A1 by INDIRECT(B1) and A100 by INDIRECT(B2)

--
If you find this post helpful pl. choose "Yes"...


"on_lunch" wrote:

Hi all,

I have several colums I am using with numbers in them. These columms
scretch for a few hundred rows. Below are two colums going 100 rows.

I only want to work with certain range, so in B1 and B2 cell I indicate the
starting cell and the ending cell. The example belwo shows start at A2 and
finish at A80

I find the average with the following
C1=average(indirect(B1):indirect(b2)


I am having touble with the next formula. I would now like to count the
number of cells that are between a certain % of the average.

Thanks for you time

A B C D E
1 11 A2 result of average # of cells between 0% & 10%
of average
2 22 A80 # of cells between 11%
& 20% of average
3 25 # of cells between
21% & 30%
4 37 # of cells between
31% & 40%
5 55 ...
6 56
7 61
8
9
10
.
.
.100

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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
Countif indirect question Doug Laidlaw Excel Discussion (Misc queries) 6 August 8th 07 08:34 PM
Indirect cell references ???? Stephen Rainey Excel Discussion (Misc queries) 9 May 3rd 06 05:22 PM
value of indirect cell ccyarm Excel Worksheet Functions 2 June 28th 05 05:21 PM
INDIRECT WITH COUNTIF Malcolm Austin Excel Worksheet Functions 2 November 26th 04 07:50 PM


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