A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sums including #NAME?



 
 
Thread Tools Display Modes
  #1  
Old June 12th, 2009, 03:59 AM posted to microsoft.public.excel.worksheet.functions
Fred Holmes
external usenet poster
 
Posts: 45
Default Sums including #NAME?

Excel 2000

How do I get a SUM() formula to ignore (disregard) any #NAME? errors
in the range being summed, and produce (evaluate to) the sum of the
valid cells in the range?


I have a two-sheet workbook.

Sheet1 is a "Report," something handed to members of the board of the
organization.

Sheet2 is a "Datasheet," produced (exported) by an accounting program
in a format that is not very understandable.

The Report sheet gets its data by links from the Datasheet, using
Named Ranges (cells) in the Datasheet.

The accounting package, in generating the datasheet, suppresses zeros,
i.e., data elements whose value is zero are not generated at all, do
not appear in the data list.

So I get a #NAME? error in the cell in the Report where that data
element is linked.

That #NAME? error in the cell propagates to formulae (sums, which are
subtotals and totals), which then also produce an #NAME? error value.

How do I get the sum formulae to ignore the #NAME? errors, evaluating
them to be zero, and calculating the sum of the values that are good?

TIA

Fred Holmes
  #2  
Old June 12th, 2009, 04:38 AM posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_3_]
external usenet poster
 
Posts: 3,333
Default Sums including #NAME?

Hi,

Here's one way

=SUMIF(E12:E15,"#NAME?")
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Fred Holmes" wrote:

Excel 2000

How do I get a SUM() formula to ignore (disregard) any #NAME? errors
in the range being summed, and produce (evaluate to) the sum of the
valid cells in the range?


I have a two-sheet workbook.

Sheet1 is a "Report," something handed to members of the board of the
organization.

Sheet2 is a "Datasheet," produced (exported) by an accounting program
in a format that is not very understandable.

The Report sheet gets its data by links from the Datasheet, using
Named Ranges (cells) in the Datasheet.

The accounting package, in generating the datasheet, suppresses zeros,
i.e., data elements whose value is zero are not generated at all, do
not appear in the data list.

So I get a #NAME? error in the cell in the Report where that data
element is linked.

That #NAME? error in the cell propagates to formulae (sums, which are
subtotals and totals), which then also produce an #NAME? error value.

How do I get the sum formulae to ignore the #NAME? errors, evaluating
them to be zero, and calculating the sum of the values that are good?

TIA

Fred Holmes

  #3  
Old June 12th, 2009, 04:54 AM posted to microsoft.public.excel.worksheet.functions
Fred Holmes
external usenet poster
 
Posts: 45
Default Sums including #NAME?

Definitely "Yes," but there is no "Yes" button in/on my Forte Agent
newsreader. I guess the "Yes" button appears on the web interface?

Fred Holmes

On Thu, 11 Jun 2009 20:38:01 -0700, Shane Devenshire
wrote:

Hi,

Here's one way

=SUMIF(E12:E15,"#NAME?")
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Fred Holmes" wrote:

Excel 2000

How do I get a SUM() formula to ignore (disregard) any #NAME? errors
in the range being summed, and produce (evaluate to) the sum of the
valid cells in the range?


I have a two-sheet workbook.

Sheet1 is a "Report," something handed to members of the board of the
organization.

Sheet2 is a "Datasheet," produced (exported) by an accounting program
in a format that is not very understandable.

The Report sheet gets its data by links from the Datasheet, using
Named Ranges (cells) in the Datasheet.

The accounting package, in generating the datasheet, suppresses zeros,
i.e., data elements whose value is zero are not generated at all, do
not appear in the data list.

So I get a #NAME? error in the cell in the Report where that data
element is linked.

That #NAME? error in the cell propagates to formulae (sums, which are
subtotals and totals), which then also produce an #NAME? error value.

How do I get the sum formulae to ignore the #NAME? errors, evaluating
them to be zero, and calculating the sum of the values that are good?

TIA

Fred Holmes


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.