Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel - Why isn't this formula working?

Posted on 2011-09-20
2
Medium Priority
?
171 Views
Last Modified: 2012-06-21
Hi Excel Experts,

How come this formula works in one of my workbooks but not another?

 Combined-Inventory-09-30-10-New.xlsx Combined-Inventory--August-2011-.xlsx

 Works Here Not Working

I am trying to do a fairly simple formula:  =SUM(($C$4:$C$1272=$C$1275)*($Q$4:$Q$1272))

Whenever I put it in, i get #Value.

Why?
0
Comment
Question by:activematx
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 36570064
That's an "array formula" - you need to enter it and then confirm with CTRL+SHIFT+ENTER

To do that press F2 key to select formula then hold down CTRL and SHIFT keys and press ENTER so that curly braces like { and } appear around the formula in the formula bar.

It's simpler, though, in this case to use a non-array SUMIF formula to get the same result, i.e.

=SUMIF($C$4:$C$1272,$C$1275,$Q$4:$Q$1272)

regards, barry
0
 
LVL 9

Author Comment

by:activematx
ID: 36570190
Thanks so much Barry!  You saved me so much time!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question