ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sumproduct - I think - Counting occurances that fall into criteria (https://www.excelbanter.com/excel-discussion-misc-queries/197502-sumproduct-i-think-counting-occurances-fall-into-criteria.html)

ckemtp

Sumproduct - I think - Counting occurances that fall into criteria
 
Howdy y'all,

I would like to use the sumproduct command, I believe, to count the cells
that have ranges of income levels in a certain county. I have a large amount
of data sorted by counties with hypothetical people in there. Each individual
hypothetical person has their gross income level in a field. I would like to
break down the income levels by $10k increments and I need sumproduct to
count the occurances of for example, hypothetical residents of Adams County
with income levels betweek $1k and $10k.

No idea how to do this. Any help will be appreciated.
--
Chris Kaiser
Apprentice Excel Ninja

RagDyeR

Sumproduct - I think - Counting occurances that fall into criteria
 
Column A = Name
Column B = Income
Column C - County

County to look in entered in D1
Lower income level in D2
Upper income level in D3

=Sumproduct((C2:C1000=D1)*(B2:B1000=D2)*(B2:B1000 <=D3))
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"ckemtp" wrote in message
...
Howdy y'all,

I would like to use the sumproduct command, I believe, to count the cells
that have ranges of income levels in a certain county. I have a large
amount
of data sorted by counties with hypothetical people in there. Each
individual
hypothetical person has their gross income level in a field. I would like
to
break down the income levels by $10k increments and I need sumproduct to
count the occurances of for example, hypothetical residents of Adams
County
with income levels betweek $1k and $10k.

No idea how to do this. Any help will be appreciated.
--
Chris Kaiser
Apprentice Excel Ninja





All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com