#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 109
Default COUNTIF

Hi all,

Column A, rows 2-99, contains the number of bedrooms a house contains, e.g.
1, 2, 3 or 4.
Column B, rows 2-99, contains the number of storeys the house is, e.g. 1, 2,
3, 4

What formula would I use to count the nuber of 2 bedroom houses that are 3
storeys tall? =COUNTIF(A2:A99, AND???..

Please help, thank-you.

Kinf regards,

Neil
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default COUNTIF

Maybe

=SUMPRODUCT((A2:A99=2)*(B2:B99=3))

Mike

"Neil Pearce" wrote:

Hi all,

Column A, rows 2-99, contains the number of bedrooms a house contains, e.g.
1, 2, 3 or 4.
Column B, rows 2-99, contains the number of storeys the house is, e.g. 1, 2,
3, 4

What formula would I use to count the nuber of 2 bedroom houses that are 3
storeys tall? =COUNTIF(A2:A99, AND???..

Please help, thank-you.

Kinf regards,

Neil

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 109
Default COUNTIF

Thank-you.

If I wanted the cell to list the contents of those cells that match the
criteria how would I go about this?

e.g.

Column A, rows 1-99, lists house numbers: Output of 1-99
Column B, rows 1-99, lists the houses' plot numbers: Output of either 1-10
Column C, rows 1-99, lists the phase that the houses fall under: Output
either 1,2,or 3

I now wish to create a table with plots on the left columns, phases on the
top row, adn the cells to list which houses are matching on both counts.

Inputting the formula provided inputs the number of houses in matchign both.
Now I wish the cell to list the houses and not just count them.

Is this possible?


Thanks in advance,

Neil


"Mike H" wrote:

Maybe

=SUMPRODUCT((A2:A99=2)*(B2:B99=3))

Mike

"Neil Pearce" wrote:

Hi all,

Column A, rows 2-99, contains the number of bedrooms a house contains, e.g.
1, 2, 3 or 4.
Column B, rows 2-99, contains the number of storeys the house is, e.g. 1, 2,
3, 4

What formula would I use to count the nuber of 2 bedroom houses that are 3
storeys tall? =COUNTIF(A2:A99, AND???..

Please help, thank-you.

Kinf regards,

Neil

Reply
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
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF luvthavodka Excel Discussion (Misc queries) 3 July 6th 05 04:02 AM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


All times are GMT +1. The time now is 03:36 AM.

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"