Solved

need help with excel formula or lookup

Posted on 2014-09-03
6
150 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
  • 2
  • 2
  • 2
6 Comments
 
LVL 11

Expert Comment

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

Author Comment

by:Matt Pinkston
Comment Utility
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
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 31

Assisted Solution

by:Rob Henson
Rob Henson earned 250 total points
Comment Utility
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
Comment Utility
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 31

Expert Comment

by:Rob Henson
Comment Utility
Have you tried my SUMIFS suggestion?
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 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

11 Experts available now in Live!

Get 1:1 Help Now