Solved

Sumif() function if the criteria is a text formula.

Posted on 2014-03-31
2
334 Views
Last Modified: 2014-04-01
I have a table as below and want to use the sumif function to sum the percentages if the category in the left column starts with "LOCAL".

I have tried among others
=SUMIF($A$8:$A$15,"""LEFT(A8,5)="&"""LOCAL"""&"""",$B$8:$B$15)
but I can't make it work.

Anyone can?

Table for sumif()
0
Comment
Question by:Fritz Paul
2 Comments
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39968464
Hi

Enter this Array formula with Ctrl-Shift Enter

=SUM((B8:B15)*(LEFT(A8:A15,5)="LOCAL"))

Open in new window


Regards
0
 

Author Closing Comment

by:Fritz Paul
ID: 39968629
Thanks, I have clean forgotten about array formulas. I had to go read up on them.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

920 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

15 Experts available now in Live!

Get 1:1 Help Now