Solved

Using Indirect in Sumif

Posted on 2014-03-30
3
239 Views
Last Modified: 2014-03-30
I am trying to modify a SumIf using "Indirect" to return the the sum of data  that is two rows above the criteria for the sum.   I just can't seem to get it to work.

Sample data attached
EE-Book2.xlsx
0
Comment
Question by:uad
3 Comments
 
LVL 24

Accepted Solution

by:
mankowitz earned 250 total points
ID: 39965079
I'm not sure you want INDIRECT here which returns the values in a range when an address (i.e. "A1:A2") is specified.

Why don't you offset the second reference by two rows, like this

=SUMIF($F$3:$F$22,"t",$D$1:$D$20)

Note that the F column starts at F3, while the D column starts at D1
0
 
LVL 26

Assisted Solution

by:MacroShadow
MacroShadow earned 250 total points
ID: 39965086
Enclose the range in double quotes, i.e.
=SUMIF($F$3:$F$22,"t",INDIRECT("$E$1:$E$20"))

Open in new window

0
 

Author Closing Comment

by:uad
ID: 39965128
Had to split the points, because both solutions worked.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
Video by: Zack
Viewers will learn about various customizable options in Excel 2013.
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now