Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Why do I get correct answers to formula then #NAME for some no's

I have an Excel worksheet with six separate columns of numbers and several
rows with numbers in one, several or all of the columns plus a total column.

I am using a formula to crosscheck the totals. The formula being used is
=IF(SUM(S4:S22)=SUM(B23:Q23),SUM(S4:S22),value). All of the numbers down and
across (both positive and negative totals) add to a correct total in cell
S23. Suddenly, by adding a negative number (within a range of -45 to -244)
the answer becomes #NAME. Why?? By adding any other numbers (positive or
negative) the crosscheck answer is correct.

I have never had this problem with an Excel spreadsheet previously.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Why do I get correct answers to formula then #NAME for some no's

Is value a named range somewhere, or do you want this to appear as
text to alert you to the fact that the two totals are not the same? If
the latter, then you need to enclose the word value within double
quotes, like so:

=IF(SUM(S4:S22)=SUM(B23:Q23),SUM(S4:S22),"value")

Hope this helps.

Pete

On Apr 20, 4:54 am, James W. <James
wrote:
I have an Excel worksheet with six separate columns of numbers and several
rows with numbers in one, several or all of the columns plus a total column.

I am using a formula to crosscheck the totals. The formula being used is
=IF(SUM(S4:S22)=SUM(B23:Q23),SUM(S4:S22),value). All of the numbers down and
across (both positive and negative totals) add to a correct total in cell
S23. Suddenly, by adding a negative number (within a range of -45 to -244)
the answer becomes #NAME. Why?? By adding any other numbers (positive or
negative) the crosscheck answer is correct.

I have never had this problem with an Excel spreadsheet previously.



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
One formula, many possible answers. GARDNERGUY Excel Discussion (Misc queries) 1 April 5th 07 08:56 AM
using formula with several possible answers jog398 Excel Worksheet Functions 3 May 19th 06 02:39 AM
Correct answers like a quiz Penny Freeman Excel Worksheet Functions 1 April 18th 06 09:52 AM
using a formula, no's 1-443 deleting (116-124) in serval cells tyrone Excel Worksheet Functions 2 April 9th 06 03:15 PM
formula gives 2 different answers klee Excel Worksheet Functions 3 January 10th 06 12:58 PM


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