Adding a range criteria (i.e. ages) to an array - best way?

joemax

New Member
Joined
Apr 15, 2013
Messages
1
Hello,
I have an excel spreadsheet list of people which includes multiple characteristics (city, age, name, ect) and would like to count the number of individuals who live in city x and are also within a specific age group (i.e. 25-40) - is it possible to include a range within an array or is there an easier way to do this?
Thanks, Joe
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Maybe like this:

Excel Workbook
ABC
1NameCityAge
2FredY10
3JohnY18
4JimX26
5TonyY39
6JennyX40
7SharonX17
8
9XL2007+2
10All Versions2
Sheet1
 
Upvote 0

Forum statistics

Threads
1,203,605
Messages
6,056,239
Members
444,852
Latest member
MJaspering

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top