Solved

need help with excel formula or lookup

Posted on 2014-09-03
6
151 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
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
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.

 
LVL 32

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 32

Expert Comment

by:Rob Henson
ID: 40301131
Have you tried my SUMIFS suggestion?
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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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 view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

914 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

16 Experts available now in Live!

Get 1:1 Help Now