Solved

need help with excel formula or lookup

Posted on 2014-09-03
6
152 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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!
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

810 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