LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 395
Default Sumproduct, but errors in column

I've been asked by a colleague to help tally some data, and sumproduct is the
logical formula to use. However, the raw data has some N/A# errors in it, and
I haven't figured out how to work around it.

Col A Col B
Joe $422
Mary $518
Joe $496
Mary $476
Mary N/A#

So for my sumproduct, I'm limiting it by name, only taking rows that do not
have an error value, and tallying the remaining values.

=SUMPRODUCT(('accts'!A$1:A$1000="Mary")*1,(NOT(ISE RROR('accts'!B$1:B$1000)))*1,('accts'!B$1:B$1000))

If I remove the final condition, I do get a count of the number of rows for
the target individual where there is no error value. However, when I include
the last condition to get the actual sum of values, I think it is hitting
those error values anyway and crashing the formula- it returns a N/A error
for the sumproduct results.

I thought that the second condition would be sufficient to limit my results
to only the rows without errors, but perhaps an error in any of the
conditions kills the whole evaluation, even if that row would have been
omitted by another condition?

Anyway, how does one tally a column with error values using sumproduct?

Thank you!
Keith
 
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
SumProduct When Range Has Errors carl Excel Worksheet Functions 1 August 23rd 07 04:22 PM
New Errors in Sumproduct Usage Danger Mouse Excel Worksheet Functions 5 April 12th 07 03:44 PM
Help on sumproduct returning errors Pierre Excel Worksheet Functions 2 November 16th 06 04:00 PM
Ignoring text and errors with Sumproduct SteveC Excel Worksheet Functions 3 May 1st 06 07:05 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM


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