Popular Pages

Share

 

 

 

SUMIF Using a Cell Reference as Criteria in Microsoft Excel

Here's a common task. Column A contains a grade, column B contains how many people received it. This information resides on Sheet2.

Now, we want to summarize the information on Sheet1. In this case, the person wanted to have 1-10, 11-20, etc. Instead, we turn those into values of 10, 20, etc., so that we can use them for our formula.

We make sure the ranges we're looking in have the $ signs so when we copy it, they don't change the cell references on us. We have to "build" the reference to the cell we're looking at. If we just needed it to be equal to A2, then we wouldn't need the "<="& part of the formula.

OfficeArtilces.com debuted on May 26, 2005.

MrExcel.com provides examples of Formulas, Functions and Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Formulas, Functions and Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.

Access®, Excel®, FrontPage®, Outlook®, PowerPoint®, Word® are registered trademarks of the Microsoft Corporation.
MrExcel® TM is a registered trademark of Tickling Keys, Inc.

All contents © 1998-2014 by MrExcel Consulting | All rights reserved