Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 114
Default returned calculation incorrect


The following formula returns a total of 53 when in fact it should be 39

=COUNTA(AL10:AL8002)+'other additions'!AK5

puzzled
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default returned calculation incorrect

I'll put money on the fact that the calculation is *not* incorrect.

What is the prize for whoever guesses what the content of the various cells
is, as you haven't told us?

The starting point is to split your formula into manageable chunks.
Does =COUNTA(AL10:AL8002) give you the value you expect?
If not, have you considered whether some of the cells may contain a text
string which might only contain spaces?
If in doubt, try a helper column with =LEN(AL10) and copy down and see how
many non-zero values you have.
--
David Biddulph

"Gotroots" wrote in message
...

The following formula returns a total of 53 when in fact it should be 39

=COUNTA(AL10:AL8002)+'other additions'!AK5

puzzled



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 140
Default returned calculation incorrect

I would double check the formula or post some details with the data of the
cell ranges
53 could well be correct !

Thanks ;-)

Gotroots wrote:
The following formula returns a total of 53 when in fact it should be 39

=COUNTA(AL10:AL8002)+'other additions'!AK5

puzzled


--
Matt Lynn

Message posted via http://www.officekb.com

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 140
Default returned calculation incorrect

The Prize is mine !!

David Biddulph wrote:
I'll put money on the fact that the calculation is *not* incorrect.

What is the prize for whoever guesses what the content of the various cells
is, as you haven't told us?

The starting point is to split your formula into manageable chunks.
Does =COUNTA(AL10:AL8002) give you the value you expect?
If not, have you considered whether some of the cells may contain a text
string which might only contain spaces?
If in doubt, try a helper column with =LEN(AL10) and copy down and see how
many non-zero values you have.
--
David Biddulph

The following formula returns a total of 53 when in fact it should be 39

=COUNTA(AL10:AL8002)+'other additions'!AK5

puzzled


--
Matt Lynn

Message posted via http://www.officekb.com

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default returned calculation incorrect

Perhaps the "dreaded space bar" has been touched

=SUMPRODUCT((LEN(TRIM(M1:M21))0)*1)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Gotroots" wrote in message
...

The following formula returns a total of 53 when in fact it should be 39

=COUNTA(AL10:AL8002)+'other additions'!AK5

puzzled




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default returned calculation incorrect

Hi,

Not enough information but COUNTA will count all populated cells in the range.

Mike

"Gotroots" wrote:


The following formula returns a total of 53 when in fact it should be 39

=COUNTA(AL10:AL8002)+'other additions'!AK5

puzzled

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default returned calculation incorrect

You must be having formulas in the range which return blank entries...Try one
of these formulas

=COUNTIF(AL10:AL8002,"?*")+COUNT(AL10:AL8002)
=SUMPRODUCT(--(TRIM(AL10:AL8002)<""))

If this post helps click Yes
---------------
Jacob Skaria


"Gotroots" wrote:


The following formula returns a total of 53 when in fact it should be 39

=COUNTA(AL10:AL8002)+'other additions'!AK5

puzzled

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
incorrect calculation Markies Excel Worksheet Functions 2 May 28th 08 08:27 PM
IF/COUNT/AVERAGE... Value returned is incorrect. Rebekah Excel Worksheet Functions 3 September 28th 07 04:25 PM
Using COS in VBA, incorrect value returned Gnrnr Excel Worksheet Functions 5 September 19th 07 01:20 PM
incorrect calculation Robin Excel Discussion (Misc queries) 7 April 11th 07 07:06 PM
Calculation is incorrect Scott Excel Discussion (Misc queries) 4 March 24th 06 12:25 PM


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