#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 542
Default Counting duplicates

I am designing a sheet that shows a rota that will look like this

Name week 1 week 2 week 3
me 1 3 1
joe 1 2 4
dave 1 3 5

The numbers in the week colum will represent an area.
I would like a formula that will count how many numbers there are e.g how
many 1's in week 1 so i can see automatically that i have enough people in
that area. Eg if area 1 needs 3 people it will show up straight away if i
haven't got enough people roatad in that area. I can do condtionall
formatting on the end result but i cannot find somehting to give me the
result.


Cheers
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Counting duplicates

Try the COUNTIF function.

At the bottom of your column, type "=COUNTIF(A1:A4,1)". That will tally up
the number of "1"s that appear in that column. Then copy the formula across.

Good luck!

"James" wrote:

I am designing a sheet that shows a rota that will look like this

Name week 1 week 2 week 3
me 1 3 1
joe 1 2 4
dave 1 3 5

The numbers in the week colum will represent an area.
I would like a formula that will count how many numbers there are e.g how
many 1's in week 1 so i can see automatically that i have enough people in
that area. Eg if area 1 needs 3 people it will show up straight away if i
haven't got enough people roatad in that area. I can do condtionall
formatting on the end result but i cannot find somehting to give me the
result.


Cheers

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Counting duplicates

If week1 is in column B, then try this:

=COUNTIF(B2:B20,"1")

will count all the 1's in week1. Adjust the ranges and the number to
look at other weeks or other areas.

Hope this helps.

Pete

On May 6, 9:52*pm, James wrote:
I am designing a sheet that shows a rota that will look like this

Name week 1 week 2 week 3
me * * * * 1 * * * * *3 * * * * * *1
joe * * * * 1 * * * * *2 * * * * * *4
dave * * *1 * * * * *3 * * * * * *5

The numbers in the week colum will represent an area.
I would like a formula that will count how many numbers there are e.g how
many 1's in week 1 so i can see automatically that i have enough people in
that area. *Eg if area 1 needs 3 people it will show up straight away if i
haven't got enough people roatad in that area. *I can do condtionall
formatting on the end result but i cannot find somehting to give me the
result.

Cheers


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
counting duplicates saman110 via OfficeKB.com Excel Discussion (Misc queries) 11 February 11th 08 08:39 PM
counting function but not double counting duplicates JRD Excel Worksheet Functions 2 November 7th 07 06:43 PM
Counting duplicates Neil Excel Discussion (Misc queries) 11 November 14th 06 11:35 PM
Counting and duplicates Jeff Excel Discussion (Misc queries) 1 October 23rd 06 03:18 PM
counting duplicates Among Many Sheets, Possible?? Mhz New Users to Excel 5 July 5th 06 02:23 AM


All times are GMT +1. The time now is 11:58 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"