#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Calculations

Could anybody help me to solve these problems :
1-I want to use COUNT function to count fields from (B297:B316) If
(B297:B316)=0,but actually ,althogh the fields are empty ,all he fields are
counted,because Excel consideres 0 as a default value for the fields.
2-What's the ode the i should use to count the fields from (B297:B316) if
the value is more than 0 and less than 30 ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Calculations

=SUMPRODUCT((B297:B3160)*(B297:B316)<30))

"Pietro" wrote:

Could anybody help me to solve these problems :
1-I want to use COUNT function to count fields from (B297:B316) If
(B297:B316)=0,but actually ,althogh the fields are empty ,all he fields are
counted,because Excel consideres 0 as a default value for the fields.
2-What's the ode the i should use to count the fields from (B297:B316) if
the value is more than 0 and less than 30 ?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Calculations

Try these:

1. This will only count numeric 0. It will ignore empty cells:

=COUNTIF(B297:B316,0)

2.

=COUNTIF(B297:B316,"0")-COUNTIF(B297:B316,"=30")

Biff

"Pietro" wrote in message
...
Could anybody help me to solve these problems :
1-I want to use COUNT function to count fields from (B297:B316) If
(B297:B316)=0,but actually ,althogh the fields are empty ,all he fields
are
counted,because Excel consideres 0 as a default value for the fields.
2-What's the ode the i should use to count the fields from (B297:B316) if
the value is more than 0 and less than 30 ?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Calculations

Not working !!!!!!


"Toppers" wrote:

=SUMPRODUCT((B297:B3160)*(B297:B316)<30))

"Pietro" wrote:

Could anybody help me to solve these problems :
1-I want to use COUNT function to count fields from (B297:B316) If
(B297:B316)=0,but actually ,althogh the fields are empty ,all he fields are
counted,because Excel consideres 0 as a default value for the fields.
2-What's the ode the i should use to count the fields from (B297:B316) if
the value is more than 0 and less than 30 ?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Calculations

What happened when you tried it?

Pietro wrote:

Not working !!!!!!

"Toppers" wrote:

=SUMPRODUCT((B297:B3160)*(B297:B316)<30))

"Pietro" wrote:

Could anybody help me to solve these problems :
1-I want to use COUNT function to count fields from (B297:B316) If
(B297:B316)=0,but actually ,althogh the fields are empty ,all he fields are
counted,because Excel consideres 0 as a default value for the fields.
2-What's the ode the i should use to count the fields from (B297:B316) if
the value is more than 0 and less than 30 ?


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Calculations

I think you did not get me well....
Kindly note that i've unchecked the box "Zero values" under
ToolsOptionView,but actuall when i use the following code
=COUNTIF(C121:C140,"=0") all the fields are counted.
And when i use the code =SUMPRODUCT((D120:D1390)*(D120:D139<30)) the
filed is empty instead of displaying 0

All that i need is that Excel should not consider 0 as a default value for
the empty boxes and if there's a 0 as a calculation result it should appear
in the field.

"T. Valko" wrote:

Try these:

1. This will only count numeric 0. It will ignore empty cells:

=COUNTIF(B297:B316,0)

2.

=COUNTIF(B297:B316,"0")-COUNTIF(B297:B316,"=30")

Biff

"Pietro" wrote in message
...
Could anybody help me to solve these problems :
1-I want to use COUNT function to count fields from (B297:B316) If
(B297:B316)=0,but actually ,althogh the fields are empty ,all he fields
are
counted,because Excel consideres 0 as a default value for the fields.
2-What's the ode the i should use to count the fields from (B297:B316) if
the value is more than 0 and less than 30 ?




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Calculations

I'm confused!

Kindly note that i've unchecked the box "Zero values" under
ToolsOptionView,


Ok

All that i need is that Excel should not consider 0 as a default value
for
the empty boxes and if there's a 0 as a calculation result it should
appear
in the field.


But you have 0 display turned off. You can't have both.

Biff

"Pietro" wrote in message
...
I think you did not get me well....
Kindly note that i've unchecked the box "Zero values" under
ToolsOptionView,but actuall when i use the following code
=COUNTIF(C121:C140,"=0") all the fields are counted.
And when i use the code =SUMPRODUCT((D120:D1390)*(D120:D139<30)) the
filed is empty instead of displaying 0

All that i need is that Excel should not consider 0 as a default value
for
the empty boxes and if there's a 0 as a calculation result it should
appear
in the field.

"T. Valko" wrote:

Try these:

1. This will only count numeric 0. It will ignore empty cells:

=COUNTIF(B297:B316,0)

2.

=COUNTIF(B297:B316,"0")-COUNTIF(B297:B316,"=30")

Biff

"Pietro" wrote in message
...
Could anybody help me to solve these problems :
1-I want to use COUNT function to count fields from (B297:B316) If
(B297:B316)=0,but actually ,althogh the fields are empty ,all he fields
are
counted,because Excel consideres 0 as a default value for the fields.
2-What's the ode the i should use to count the fields from (B297:B316)
if
the value is more than 0 and less than 30 ?






  #8   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Calculations

Think Toppers meant:
=SUMPRODUCT((B297:B3160)*(B297:B316<30))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Pietro" wrote in message
...
Not working !!!!!!


"Toppers" wrote:

=SUMPRODUCT((B297:B3160)*(B297:B316)<30))



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
Calculations shone Excel Discussion (Misc queries) 3 August 21st 06 03:55 AM
if calculations TeddyBearDJ Excel Worksheet Functions 2 March 19th 06 10:27 PM
% calculations ChristyB Excel Worksheet Functions 4 February 16th 06 06:21 PM
Need help on some calculations.. KristopherJensen New Users to Excel 6 January 2nd 06 02:28 PM
Help with PV calculations PJF Excel Worksheet Functions 2 October 30th 05 01:04 AM


All times are GMT +1. The time now is 05:34 PM.

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"