ExcelTip.com
ExcelTip.com
Account Icon Account Icon Account Icon
Google Exceltip.com
JOIN OUR NEWSLETTER
  and receive for joining:
Free eBook Learn More!
Free Excel ADD-IN
Free Weekly Excel Tip
4 e-books in cd-rom
F1 Formulas & Functions
F1 Formulas & Functions
F1 EXCEL
F1 eBook (Spanish)
F1 EXCEL
Financial Statements.xls
 

» Summing Values In a Range Specified By Indirect Cell References
CATEGORY: Summing


Problem:

Column A contains a list of numbers.
Columns B:C contain pairs of cell references, representing the beginning and end of a specific range from column A, which we would like to sum.
How could we create a formula that will sum the values included in each of the ranges specified in columns B:C?

Solution:

Using the INDIRECT function, as follows:
=SUM(INDIRECT(B2&"":""&C2))
Screenshot // Summing Values In a Range Specified By Indirect Cell References

Summing Values In a Range Specified By Indirect Cell References
Rate this tip
12 34 5
  RATING: 2.61
  VIEWS: 16466

READER COMMENTS (view all comments)


Summing Values In a Range
Dennis Taylor wrote on July 14, 2005 23:43 EST
If you enter this formula in cell B4 and then copy it downward into as many cells you think you will need, it will give you correct answers. Perhaps less elegant than using the OFFSET function, but I think it's more direct and more comprehensible.

=IF(ISBLANK(A4),"",RANK(A4,A:A))
Wrong comment posting
Dennis Taylor wrote on July 15, 2005 03:21 EST
My previous posted comments should have gone to this topic:

Ranking numbers in a dynamic list
error in indirect formula
Bill Cohen wrote on December 31, 1969 19:00 EST

» Summing Values In a Range Specified By Indirect Cell References



CATEGORY: Summing VERSIONS: All Microsoft Excel Versions



Problem:

Column A contains a list of numbers.
Columns B:C contain pairs of cell references, representing the beginning and end of a specific range from column A, which we would like to sum.
How could we create a formula that will sum the values included in each of the ranges specified in columns B:C?

Solution:

Using the INDIRECT function, as follows:
=SUM(INDIRECT(B2&"":""&C2)) ... should be

=SUM(INDIRECT(B2&":"&C2))



REGISTERED USERS - Click here to post comments


GUESTS (Click here to register)
Name
Comment Title
Comments

Understanding Financial Statements

Harry Potter and the Order of the Phoenix (Book 5)

Financial Risk Manager Handbook, Second Edition

The McGraw-Hill Guide to Writing a High-Impact Business Plan: A Proven Blueprint for First-Time Entrepreneurs

AWAKEN THE GIANT WITHIN : HOW TO TAKE IMMEDIATE CONTROL OF YOUR MENTAL, EMOTIONAL, PHYSICAL AND FINANCIAL

Microsoft Word Version 2002 Inside Out

RELATED MICROSOFT EXCEL TIPS


Convert PDF Files to Excel


Excel VBA books
Accounting books
Business Plans
MS Office books
Taxes books

VIEW ALL BOOKS