#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default number of cells

in column A are numbers ranging from 0 to 1. in cell C1 is the text (or
label) specifying the cell range for those numbers A1:A500. i know i can
use the INDIRECT() function with SUM() to get the sum of those numbers with
=SUM(INDIRECT(C1)). however, what i really need is a function that returns
the number of cells with a value = 0.5. it should be something similar to
=SUM(INDIRECT(C1)0.5). I need to avoid functions like DCOUNT and the like.
just trying to get a Quattro Pro workbook transferred to Excel.

TIA,
Steve


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default number of cells


=COUNTIF(INDIRECT(C1),"=0.5")

"steve_k" wrote:

in column A are numbers ranging from 0 to 1. in cell C1 is the text (or
label) specifying the cell range for those numbers A1:A500. i know i can
use the INDIRECT() function with SUM() to get the sum of those numbers with
=SUM(INDIRECT(C1)). however, what i really need is a function that returns
the number of cells with a value = 0.5. it should be something similar to
=SUM(INDIRECT(C1)0.5). I need to avoid functions like DCOUNT and the like.
just trying to get a Quattro Pro workbook transferred to Excel.

TIA,
Steve



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default number of cells

If you want to SUM the cells that are greater than or equal to "0.5" then:

=SUMIF(INDIRECT(C1),"=0.5")

If you just want a count of cells whose values are greater than or equal to
"0.5" then:

=COUNTIF(INDIRECT(C1),"=0.5")

HTH,
Paul



"steve_k" wrote in message
...
in column A are numbers ranging from 0 to 1. in cell C1 is the text (or
label) specifying the cell range for those numbers A1:A500. i know i can
use the INDIRECT() function with SUM() to get the sum of those numbers
with =SUM(INDIRECT(C1)). however, what i really need is a function that
returns the number of cells with a value = 0.5. it should be something
similar to =SUM(INDIRECT(C1)0.5). I need to avoid functions like DCOUNT
and the like. just trying to get a Quattro Pro workbook transferred to
Excel.

TIA,
Steve



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default number of cells

please ignore, i just had to read down further in the threads to generate an
idea.

just in case anyone cares
==COUNTIF(INDIRECT(C1),""&TEXT(MAX(INDIRECT(C1))/2,"0.00E+00"))

apologies if i caused someone unnecessary work
Steve

"steve_k" wrote in message
...
in column A are numbers ranging from 0 to 1. in cell C1 is the text (or
label) specifying the cell range for those numbers A1:A500. i know i can
use the INDIRECT() function with SUM() to get the sum of those numbers
with =SUM(INDIRECT(C1)). however, what i really need is a function that
returns the number of cells with a value = 0.5. it should be something
similar to =SUM(INDIRECT(C1)0.5). I need to avoid functions like DCOUNT
and the like. just trying to get a Quattro Pro workbook transferred to
Excel.

TIA,
Steve



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
How to set a number number value as text in all cells ? Paul Peters Excel Worksheet Functions 0 August 11th 06 07:27 AM
Formula for counting number of cells Pawan Excel Discussion (Misc queries) 2 February 22nd 06 05:20 AM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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