#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default counting numbers

how do i count the number of times lets say 1,2 and 3 are populated in cell
range A2 to d12?

u guys are awesome such a big help
--
thanx
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default counting numbers

=countif(A2:D12,"1") etc.

Dave
--
Brevity is the soul of wit.


"dmack" wrote:

how do i count the number of times lets say 1,2 and 3 are populated in cell
range A2 to d12?

u guys are awesome such a big help
--
thanx

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default counting numbers


thanx Dave F, that works, now how would i find the number of times that all
three are populated in the same string of cells in the same formula
--
thanx


"dmack" wrote:

how do i count the number of times lets say 1,2 and 3 are populated in cell
range A2 to d12?

u guys are awesome such a big help
--
thanx

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default counting numbers

Combine the countifs: =COUNTIF(A1:A10,"1")+COUNTIF(A1:A10,"2").... etc.

Dave
--
Brevity is the soul of wit.


"dmack" wrote:


thanx Dave F, that works, now how would i find the number of times that all
three are populated in the same string of cells in the same formula
--
thanx


"dmack" wrote:

how do i count the number of times lets say 1,2 and 3 are populated in cell
range A2 to d12?

u guys are awesome such a big help
--
thanx

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default counting numbers

Another way:

=SUM(COUNTIF(A2:d12,{1,2,3}))



dmack wrote:

thanx Dave F, that works, now how would i find the number of times that all
three are populated in the same string of cells in the same formula
--
thanx

"dmack" wrote:

how do i count the number of times lets say 1,2 and 3 are populated in cell
range A2 to d12?

u guys are awesome such a big help
--
thanx


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default counting numbers

That's clever.

Dave
--
Brevity is the soul of wit.


"Dave Peterson" wrote:

Another way:

=SUM(COUNTIF(A2:d12,{1,2,3}))



dmack wrote:

thanx Dave F, that works, now how would i find the number of times that all
three are populated in the same string of cells in the same formula
--
thanx

"dmack" wrote:

how do i count the number of times lets say 1,2 and 3 are populated in cell
range A2 to d12?

u guys are awesome such a big help
--
thanx


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default counting numbers

I thought the same thing when I first saw it in the newsgroups!

Dave F wrote:

That's clever.

Dave
--
Brevity is the soul of wit.

"Dave Peterson" wrote:

Another way:

=SUM(COUNTIF(A2:d12,{1,2,3}))



dmack wrote:

thanx Dave F, that works, now how would i find the number of times that all
three are populated in the same string of cells in the same formula
--
thanx

"dmack" wrote:

how do i count the number of times lets say 1,2 and 3 are populated in cell
range A2 to d12?

u guys are awesome such a big help
--
thanx


--

Dave Peterson


--

Dave Peterson
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
Is this possible ??? DB Excel Discussion (Misc queries) 12 August 26th 06 12:19 AM
Counting Unique Part Numbers In A Range BigH Excel Worksheet Functions 2 December 9th 05 07:09 PM
Checking Winning Numbers in the Lottery. Ann Excel Discussion (Misc queries) 4 May 18th 05 10:55 AM
Counting numbers in a column without including others kim11757 Excel Worksheet Functions 1 January 6th 05 10:14 PM
Counting multiple numbers in one cell clubin Excel Worksheet Functions 6 December 8th 04 02:47 PM


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