Solved

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

Posted on 2014-03-31
2
336 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

776 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