Solved

# need help with excel formula or lookup

Posted on 2014-09-03
155 Views
I have an XLS with two tabs

Report
Chart

Report is the raw report and chart is where I want to summarize values, if I get one I should be fine to do the rest...

so in cell C3 of chart I would like the total number of records from Report when:
Report Column L = Civilian
Report Column N begins with 01,02 or 03

in cell C11 of chart I would like the sum of Report Column G when:
Report Column L = Civilian
Report Column N begins with 06
0
Question by:Matt Pinkston
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2
• 2
• 2

LVL 11

Expert Comment

ID: 40300829
Perhaps two pivottables would do the trick? Easier than formulas.
0

Author Comment

ID: 40300839
well I have dozens of these that is why I was hoping to get a couple formulas then I can make them work for the rest
0

LVL 11

Accepted Solution

jkpieterse earned 250 total points
ID: 40300850
You should be able to get the count with the COUNTIFS function, for example for 01, 02 and 03:

=COUNTIFS(Report!L:L,"Civillian",Report!N:N,"01*")+COUNTIFS(Report!L:L,"Civillian",Report!N:N,"02*")+COUNTIFS(Report!L:L,"Civillian",Report!N:N,"03*")
0

LVL 33

Assisted Solution

Rob Henson earned 250 total points
ID: 40300871
Likewise, you can use the SUMIFS function to sum up:

=SUMIFS(Report!G:G,Report!L:L,"Civilian",Report!N:N,"06*")

Thanks
Rob H
0

Author Comment

ID: 40301108
perfect for the first scenario how about

in cell C11 of chart I would like the sum of Report Column G when:
Report Column L = Civilian
Report Column N begins with 06
0

LVL 33

Expert Comment

ID: 40301131
Have you tried my SUMIFS suggestion?
0

## Featured Post

Question has a verified solution.

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

### Suggested Solutions

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
###### Suggested Courses
Course of the Month8 days, 22 hours left to enroll