sumifs
RH

Forum home » Delegate support and help forum » Microsoft Excel Training and help » SUMIFS

SUMIFS

resolvedResolved · Medium Priority · Version 2013

Chris has attended:
Excel Advanced course
Excel VBA Intro Intermediate course
Excel Intermediate course
Excel Dashboards for Business Intelligence course
Advanced Excel Dashboards course
Excel PowerPivot course
Excel Advanced - Formulas & Functions course
Excel Charting course

SUMIFS

Having trouble seeing why this is still brining a value of 0:

=SUMIFS(tbl_Saleslog[12GP],tbl_Saleslog[AccntMan],K3,tbl_Saleslog[Month],$E$10)/SUMIFS(tbl_Targets[MonthlyTarget],tbl_Targets[AccntMan],K3,tbl_Targets[Month],$E$10)

RE: SUMIFS

Hi Chris,

Thank you for your question. I can't spot anything wrong with the formula's structure. It might be helpful to send us an Excel file with some sample data to forum@stl-training.co.uk, then we might spot the issue.

Kind regards
Marius Barnard
STL


RE: SUMIFS

Hi Chris,

I have had a close look at your file. There is nothing wrong with the Sumifs. They return the right result.

You only have 2018 data in the column tbl_Saleslog[Raise Date YE]. You only have records for Ian, Luke and Mark in the Data sheet.

I changed the Combo box in the helper sheet to YE 2018 and then I tested L4 (Ian). The sum of the Data sheet, where the criteria in the sumifs are true 31903.13 and the sum of the sumifs in the Target sheet is 2159280. The result in L4 1.48% is the right result.

I just spotted, where you have a problem. In the second Sumifs you reference the Annual target not the Monthly target.

=SUMIFS(tbl_Saleslog[12 GP],tbl_Saleslog[AccntMan],L3,tbl_Saleslog[Raise Date YE],$E$2)/SUMIFS(tbl_Targets[Annual Target],tbl_Targets[AccntMan],L3,tbl_Targets[Year],$E$2)

Change it to:

=SUMIFS(tbl_Saleslog[12 GP],tbl_Saleslog[AccntMan],L3,tbl_Saleslog[Raise Date YE],$E$2)/SUMIFS(tbl_Targets[Monthly Target],tbl_Targets[AccntMan],L3,tbl_Targets[Year],$E$2)

I hope this make sense and you will get a nice report.

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: SUMIFS

Thank you Jens, this has worked and although giving me odd figures/results, i think its the data that needs looking at now, for now the theory/ formula works!

All the best

Chris

Mon 6 Nov 2017: Automatically marked as resolved.


 

Excel tip:

Convert Text into Number

Some times numbers maybe imported in as text or you maybe concatenating numbers that form a text string that now are treated, because you had to extract them by Text functions

To convert Text into Number just encase the relevant cell reference or formula in the TEXT function. See Converting American Date to European hint

eg TEXT(Ref) or TEXT(formula)

View all Excel hints and tips


Server loaded in 0.05 secs.