Solved

Excel - Why isn't this formula working?

Posted on 2011-09-20
2
163 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 500 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

856 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