|
|
Summary of data using array formula
I have a spreadsheet where there are several columns with data using
validation picklists as well as free-entry columns. I would like to create a
summary of the data in the form of counts based on the existence of specific
values in these columns with the ability to change the date range. I've
created the array formula and have set up a 'startdate' and 'enddate' cells
where the user can enter the range they're looking for. No matter what I do
the value always reports a zero.
I have used these types of array formulas before, however, not using date
ranges. Could there be something I'm missing?
DOI = Date of Incident
{=COUNT(IF(ROU_Stat="CE",IF(IncType="Near
Miss",IF(DOI>=$C$1,IF(DOI<=$D$1,IF(Region_Stat="qc",1,0))))))}
|
|
0
|
|
|
|
Reply
|
Utf
|
11/17/2009 10:35:01 PM |
|
I'd try:
=sumproduct(--(rou_stat="CE"),
--(inctype="near miss"),
--(doi>=$c$1),
--(dou<=$d$1),
--(region_stat="qc"))
This assumes that all the ranges contain single columns (or rows) and each have
the same number of elements. And that DOI, DOU and C1, D1 are all real
dates--not just text that look like dates.
Adjust the ranges to match--but you can't use whole columns (except in xl2007).
=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.
Bob Phillips explains =sumproduct() in much more detail here:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html
Smitee2006 wrote:
>
> I have a spreadsheet where there are several columns with data using
> validation picklists as well as free-entry columns. I would like to create a
> summary of the data in the form of counts based on the existence of specific
> values in these columns with the ability to change the date range. I've
> created the array formula and have set up a 'startdate' and 'enddate' cells
> where the user can enter the range they're looking for. No matter what I do
> the value always reports a zero.
>
> I have used these types of array formulas before, however, not using date
> ranges. Could there be something I'm missing?
>
> DOI = Date of Incident
>
> {=COUNT(IF(ROU_Stat="CE",IF(IncType="Near
> Miss",IF(DOI>=$C$1,IF(DOI<=$D$1,IF(Region_Stat="qc",1,0))))))}
--
Dave Peterson
|
|
0
|
|
|
|
Reply
|
Dave
|
11/17/2009 10:55:24 PM
|
|
|
1 Replies
256 Views
(page loaded in 0.05 seconds)
Similiar Articles: Formula or macro to analyze data vertical and horizontal ...I am using a formula to be able to ... B2:B8)) This is an array formula ... Formula and Variance Analysis - microsoft.public.excel ... Formula or macro to analyze data ... Can a SUMPRODUCT array formula be used across multiple worksheets ...Hi - I have a workbook with 32 worksheets (Summary ... the same way, with names in column A and then data ... Can a SUMPRODUCT array formula be used across multiple ... using percentile in an array formula - microsoft.public.excel ...I want create an excel formula with Percentile that uses an array. The length of the data will ... Percentile Using Array Formula - Hi Please see attachmentI ... array transpose for dynamic data without macros - microsoft.public ...... populate column headers in a different sheet with this data. ATM I am using ... using percentile in an array formula - microsoft.public.excel ... array transpose for dynamic ... Sum cells using criteria from a row and a column - microsoft ...The data that I am working with is ... create a separate sheet that is a summary ... labels for months, then try array entering (enter using Ctrl-Shift-Enter) a formula like ... Word Auto Summary Option - microsoft.public.word.docmanagement ...... public.excel.misc ... importing data into a Word document Utf 2 224 ... Menu options is on auto hide. How I turned off this? ... Summary of data using array formula Utf 1 ... Vlookup in multiple sheets - microsoft.public.excel.worksheet ...I have 4 sheets of data(sheet 1,sheet2,...) and ... Sheet2, Sheet3 and Sheet4 try the below formula from the summary ... COLUMN(),0) Please note that this is an array formula. Summing a crosstab - microsoft.public.excel.worksheet.functions ...... A0 > > That way, I could populate the results on a summary tab.- Hide quoted t= ext - > > - Show quoted text - Using array formula would be a great help: The data ... Sumproduct using multiple sheets - microsoft.public.excel.misc ...Hi, I am using the sumproduct formula for multiple sheets. Below are my data which ... and then in your summary sheet use a formula ... Can a SUMPRODUCT array formula be ... SUMIFS using a text range - microsoft.public.excel.worksheet ...I want to start using SUMIFS for their efficiencies over array formulas. ... using all of the original Text data. I have coerced the Text to Numeric, using ... Summarize spreadsheet data with Excel's array formulas - Excel ...Let's begin our examination of this data by summarizing the sales for Jill and Joe. Cells J3 and J4 perform this summary by using array formulas. An Excel 2007 Tutorial: How to Summarize Excel Data For Reporting ...For Reporting and Analysis Excel offers several ways to summarize data quickly and easily. ... So far, I haven't demonstrated the real value of using array formulas ... Summarize Spreadsheet Data With Excel's Array FormulasLet's begin our examination of this data by summarizing the sales for Jill and Joe. Cells J3 and J4 perform this summary by using array formulas. Array FormulasCreating Array Formulas Using Arrays Of Data. The IF function can be used in ... value to a single cell, while array formulas can return arrays to many cells; Summary. Array ... Excel: Functions & Data Analysis Tools• perform data analysis using Data Analysis Tools • create a formula with the Conditional ... the source data is not deleted or changed. Array Formulas An array formula is a ... 7/21/2012 12:41:03 AM
|
|
|
|
|
|
|
|
|