Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Why does this formula =SUM(AJ3:AJ410) not add up/total correctly?

Column AJ has cells that either contain "1" or are blank but the folrmula
returns a value of "0".

All cells including the cell containing the formula are formatted for Numbers.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,090
Default Why does this formula =SUM(AJ3:AJ410) not add up/total correctly?

It appears that your "numbers" are really text. Changing the format of a
text number cell to Number does not effect that a "number" is really text.
You must format the cell before entering the number.
Given that you have already entered the numbers, do this. In some empty
cell, enter a 1. Then copy that cell. Now select all the cells in which
you have your non-number numbers. Then click on Edit - Pastespecial and
select Multiply, then OK. That forces any entry that looks like a number to
a number. HTH Otto
"ulupi" wrote in message
...
Column AJ has cells that either contain "1" or are blank but the folrmula
returns a value of "0".

All cells including the cell containing the formula are formatted for
Numbers.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Why does this formula =SUM(AJ3:AJ410) not add up/total correctly?

Hi

If the only value in your columns are 1's then try:
=COUNTIF(AJ3:AJ410,1)

or

SUM(INT(AJ3:AJ41)) enter using CTRL+SHIFT+ENTER which will count 1's that
are text and not actual numbers.

if neither works then check to make sure your calculation is set to automatic.

HTH
Jean-Guy

"ulupi" wrote:

Column AJ has cells that either contain "1" or are blank but the folrmula
returns a value of "0".

All cells including the cell containing the formula are formatted for Numbers.

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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
figure out why this formula isn't calculating correctly Dave F Excel Discussion (Misc queries) 9 August 22nd 06 09:58 PM
formula wont copy across to other cells correctly chrissywhittle Excel Discussion (Misc queries) 10 March 9th 06 05:24 AM
How to correctly write a cross-sheet "IF" formula in Excel Jay Excel Worksheet Functions 4 November 17th 05 01:20 AM
formula returns (correctly) a negative value brit64 Excel Discussion (Misc queries) 5 September 19th 05 08:56 AM


All times are GMT +1. The time now is 09:14 PM.

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"