Solved

need help with excel formula or lookup

Posted on 2014-09-03
6
154 Views
Last Modified: 2014-09-04
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
Comment
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
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 11

Expert Comment

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

Author Comment

by:Matt Pinkston
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

by:
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 33

Assisted Solution

by:Rob Henson
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

by:Matt Pinkston
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

by:Rob Henson
ID: 40301131
Have you tried my SUMIFS suggestion?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 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.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

749 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