#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Event Counter

Hi,

I have produced a formula in Excel 2007 that returns the value either 1 or 0
in cell A1 depending upon various criteria.

I am trying now to count how many times these criteria are met by counting
the number of times the cell A1 returns the value 1.

I thought that using the formula =If(A1=1,B1+1,B1) would work but so far I
seem to be missing something. Any help here would be great.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Event Counter

Do you mean to say that Col A either has 1 or 0 in different rows as a result
of your criteria...?

In that case you can simply use
=SUM(A1:A100)

If you want to coung how many cells contain TEST in Col B then use
=COUNTIF(B1:B100="TEST")

"Highbury 1" wrote:

Hi,

I have produced a formula in Excel 2007 that returns the value either 1 or 0
in cell A1 depending upon various criteria.

I am trying now to count how many times these criteria are met by counting
the number of times the cell A1 returns the value 1.

I thought that using the formula =If(A1=1,B1+1,B1) would work but so far I
seem to be missing something. Any help here would be great.

Thanks.

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
Day counter poohgld Excel Discussion (Misc queries) 2 October 2nd 08 10:45 AM
How do i set up a counter? Bulldog21 Excel Discussion (Misc queries) 2 July 23rd 08 02:12 PM
1+2+3+4+........... Counter 23Hitamn Excel Discussion (Misc queries) 3 August 28th 07 10:17 AM
Counter Sdbenn90 Excel Discussion (Misc queries) 4 January 9th 06 11:43 AM
Counter Polina Excel Discussion (Misc queries) 2 May 27th 05 09:52 PM


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

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

About Us

"It's about Microsoft Excel"