PC Review


Reply
Thread Tools Rate Thread

Adding the values of a sorted column if some cells contain #N/A

 
 
=?Utf-8?B?QlpleWdlcg==?=
Guest
Posts: n/a
 
      5th Nov 2007
I am looking to add the contents of a column. Some of the values contain
#N/A. The info was put into a data filter. Column A is the Name, Column B is
the Year, and Column C is the Value.

If I sort the data filed to only display 2007, I would like the total for
this.

Is there a way to add the all of the values in the column together, but
ingnore the #N/A?

example of entire sheet:

Object 1 2007 2
Object 2 2008 #N/A
Object 3 2007 #N/A
Object 4 2006 1

Total 3

Example of desired:

Object 1 2007 2
Object 3 2007 #N/A

Total 2

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      5th Nov 2007
=SUM(IF(ISNUMBER(C2:C200),C2:C200,0)*(B2:B200=2007))

Entered with Ctrl+Shift+enter rather than just enter since this is an array
formula.

--
Regards,
Tom Ogilvy




"BZeyger" wrote:

> I am looking to add the contents of a column. Some of the values contain
> #N/A. The info was put into a data filter. Column A is the Name, Column B is
> the Year, and Column C is the Value.
>
> If I sort the data filed to only display 2007, I would like the total for
> this.
>
> Is there a way to add the all of the values in the column together, but
> ingnore the #N/A?
>
> example of entire sheet:
>
> Object 1 2007 2
> Object 2 2008 #N/A
> Object 3 2007 #N/A
> Object 4 2006 1
>
> Total 3
>
> Example of desired:
>
> Object 1 2007 2
> Object 3 2007 #N/A
>
> Total 2
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct where cell values are the same in a sorted column Mally Microsoft Excel Misc 1 30th Apr 2010 03:37 PM
move a row of data values to a column in sorted order moving row data to a column in a sorted Microsoft Excel Misc 2 21st Feb 2010 11:13 PM
calculate values in an unlimited range of cells in a column WITHOUTalso calculating values that had previously been filtered AGAINST? yadang Microsoft Excel Misc 2 1st Oct 2009 06:18 PM
Adding numerical values based on multiple values in another column =?Utf-8?B?S2F6bWFuaWFj?= Microsoft Excel Worksheet Functions 6 4th Apr 2007 08:53 PM
macro to transpose cells in Column B based on unique values in Column A Aaron J. Microsoft Excel Programming 3 8th Oct 2004 02:29 PM


Features
 

Advertising
 

Newsgroups
 


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