ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   counting the number of rooms (https://www.excelbanter.com/excel-worksheet-functions/229899-counting-number-rooms.html)

salaam

counting the number of rooms
 
room no name
125 shiyam
143 jabui
125 slim



total No. of room ?

i have lot of rooms like this but i just want calculate number of rooms.

[email protected]

counting the number of rooms
 
On May 5, 6:06*pm, salaam wrote:
room no name
125 * * shiyam
143 * * jabui
125 * * slim

total No. of room ?

i have lot of rooms like this but i just want calculate number of rooms.


Sorry if I'm not understanding your question correctly, but I think a
COUNT function should do this. =COUNT(A2:A4) will tell you that the
table above has 3 rooms.

T. Valko

counting the number of rooms
 
I'm guessing that you want to count *unique* room numbers.

=SUMPRODUCT(--(FREQUENCY(A2:A10,A2:A10)0))

Result = 2

--
Biff
Microsoft Excel MVP


"salaam" wrote in message
...
room no name
125 shiyam
143 jabui
125 slim



total No. of room ?

i have lot of rooms like this but i just want calculate number of rooms.





All times are GMT +1. The time now is 07:22 AM.

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