Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Sum data range containing NA()

I have a table of data which I am plotting on a chart. To ignore blank data I
have set some cells to NA() by using:

=IF(G$160,G93+F93+E93,NA())

All is well, and the chart is as required. However on the table of data I
also want to sum the columns, but if one or more cells is #N/A the result is
#N/A. I am using:

=SUM(G106:G117)

How can I get the sum command to ignore the cells with no data, but still
have a chart which does not show the blank data?

Thanks,

Andy.
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Sum data range containing NA()

try
Sum(if(isna(G106:g117),0,g106:G117)
entered as an array
control-shift-enter

"Andy" wrote:

I have a table of data which I am plotting on a chart. To ignore blank data I
have set some cells to NA() by using:

=IF(G$160,G93+F93+E93,NA())

All is well, and the chart is as required. However on the table of data I
also want to sum the columns, but if one or more cells is #N/A the result is
#N/A. I am using:

=SUM(G106:G117)

How can I get the sum command to ignore the cells with no data, but still
have a chart which does not show the blank data?

Thanks,

Andy.

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
External Data Queries - Data Range Properties v Spreadsheet Format HLS Excel Discussion (Misc queries) 0 April 5th 06 12:09 PM
How do I change a range name back to the underlying data range? Colin Excel Worksheet Functions 1 September 26th 05 06:55 PM
How to fill a range with data from another range? Themis Excel Discussion (Misc queries) 4 September 15th 05 08:29 PM
Can I use named range in data range box when creating pie chart? BJackson Charts and Charting in Excel 2 August 17th 05 06:37 PM
How can I check if data in an external data range is changed afte. Ruud Excel Worksheet Functions 0 January 7th 05 01:15 PM


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