LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
John Westgate
 
Posts: n/a
Default Sum Function sometimes displays incorrect answer

I am using Excel 2000 SP3 with (to me) a reasonably big spreadsheet (8.5Mb)
in which a set of functions such as the following worked and still work
properly:
=SUM(IF('JWCL-Current'!$H$4:$H$2966=$S$3,IF('JWCL-Current'!$V$4:$V$2966=$C40,'JWCL-Current'!K$4:K$2966,0),0))

I then copied the set of functions to another location and modified one of
the variables (as below)
=SUM(IF('JWCL-Current'!$H$4:$H$2966=$S$89,IF('JWCL-Current'!$V$4:$V$2966=$C120,'JWCL-Current'!K$4:K$2966,0),0))

The result is a displayed value of 0.00 instead of the correct value.

If I use the Insert, Function command on one of the cells containing the
modified formula, it displays in the dialog box the function as edited and
also shows the correct Formula Result for the cell. However, clicking on OK
in the function dialog box still leaves 0.00 displayed in the cell.

I have noted one difference between the original formula and the modified
one when displayed in the edit box at the top of the Excel window. The
original one is as shown above but is also enclosed in a pair of brace
characters, { and }, (although they do not show when I copy the formula from
the edit box to the above). These {} are missing in the edit box of the
modified formula. And entering them in the modified formula via editing
results in display of the formula in the cell rather than a value.

I would be grateful for advice as to what mistake(s) I may be making.
Thanks.

John


 
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 result using NPER worksheet function KG Old Wolf Excel Worksheet Functions 7 November 3rd 08 02:49 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Formula window displays correct answer while cell displays incorre MMV Excel Worksheet Functions 3 November 10th 04 09:28 PM
IF function displays wrong amount JAnderson Excel Worksheet Functions 4 November 6th 04 06:41 PM


All times are GMT +1. The time now is 03:45 AM.

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"