LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Using If Then to count multiple criteria

Hi All,

I'm trying to find a way to calculate occupancy for a dorm base on various
criteria. Currently, the information is sorted by Dorm# and Room# which is
fine as there are multiple dorms on the worksheet.

Example

Column A Column B Column C
Dorm # Room # Age
1304 115 21
1304 115 22
1304 116 21
1304 117 22
1304 118 23
1304 118 21

I have a range from age 21-25 years old and want to determine the number of
folks in each age group with and without a room mate. I'm not so much
concerned that those with room mates have someone the same age as them in the
rooms but if the room mate is a different age, each variable representing the
age group would receive a mark in the Double Occupancy cell. In the example
above it would calculated in this manner:

Double Occupancy Single Occupancy
21 - 2 1
22 - 1 1
23 - 1 0

I've found a way to pull the information only if the Dorm=1304 and Room <300
now I just need to pull the other information as indicated above. Any help?

Chaz

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count with multiple criteria in multiple cells Mike H Excel Worksheet Functions 1 February 9th 10 04:02 PM
Filter Multiple Columns on Multiple Criteria and count the last co LBitler Excel Worksheet Functions 2 February 12th 09 08:36 PM
To count the data using multiple criteria in multiple columns Rajesh New Users to Excel 5 December 15th 08 04:07 PM
Count multiple cells against multiple criteria in an Excel spreads EricB Excel Worksheet Functions 7 June 3rd 08 09:09 PM
Multiple Criteria, Count If, Sum Product to get count across range Jonathan Excel Worksheet Functions 5 January 9th 08 11:32 PM


All times are GMT +1. The time now is 09:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"