Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

sumif array formulae

Forum home » Delegate support and help forum » Microsoft Excel Training and help » SUMIF Array formulae

SUMIF Array formulae

ResolvedVersion 2003

Indie has attended:
No courses

SUMIF Array formulae

=SUMSQ(IF((ISNUMBER(E2:E1305)),E2:E1305))

The above formula works as an array formula but as a normal formula it returns 0 - can you give me a detailed breakdown for what excel is doing in each case? The data in the range is a mix of numbers and NA() values

RE: SUMIF Array formulae

Hello Indie,

Thank you for your question regarding using the SUMIF Array formula.

The only way to avoid getting an error from a formula when the data includes errors such as #N/A you must convert the formula to an array using CTRL + SHIFT + Enter. Excel is not able to work with IS functions together with SUM functions without turning the formula into an array.

Also if you are using a formula that uses multiple criteria it should be activated as an array formula before the correct result will be shown.


I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Rodney
Microsoft Office Specialist Trainer

RE: SUMIF Array formulae

What I'm asking is what excel is doing and how excel is calculating the result in each case. I already know it works as an array but not otherwise, but I'm trying to understand the process a little better so I can try and work out for myself how and when to use array formulas and not.

The fact that that excel cannot work with SUM and IS functions together without making it an array is useful, but i'm looking for a more in depth response please.

RE: SUMIF Array formulae

Hello Indie,

Here's a link to Microsoft's explanation of array formulas.

Hope this helps...

http://office.microsoft.com/en-us/excel-help/introducing-array-formulas-in-excel-HA001087290.aspx

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Rodney
Microsoft Office Specialist Trainer

Mon 16 Jul 2012: Automatically marked as resolved.

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Stop Formula Returning A "#DIV/0" Error

If a formula returns a #DIV/0 error message there is a way to avoid such results.

For example the formula =A1/B1 will return a #DIV/0 if B1 is empty or a zero.

If you protect your formulas with the ISERROR function, the formula will then look like this:

=IF(ISERROR(A1/B1),0,A1/B1)

In plain English: should the result of A1 divided by B1 be an error change the result to 0 else show the result of A1/B1.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.