#1   Report Post  
Posted to microsoft.public.excel.misc
GD GD is offline
external usenet poster
 
Posts: 83
Default possible COUNTIF?

Hi, i have a question. Columns A, B, C, D, E have data in the cells ranging
between 1-90, indicating instances within a period of 90 minutes something
happened, so E.G 47, 85, 53 etc..

In column G I have the same kind of data, 1-90.

In Column H I want to put in a formula which counts how many of the
instances in columns A,B,C,D,E are of less numerical value than that in
column G on the same row.

So for Example...

A B C D E F G H
22 45 62 84 89 56 2

Struggling a bit with it, any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default possible COUNTIF?

Yes, why not COUNTIF?

Assuming data in row2 down
In H2, copied down: =COUNTIF(A2:E2,"<"&G2)

Works? Click YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,500 Files:370 Subscribers:66
xdemechanik
---
"GD" wrote:
Hi, i have a question. Columns A, B, C, D, E have data in the cells ranging
between 1-90, indicating instances within a period of 90 minutes something
happened, so E.G 47, 85, 53 etc..

In column G I have the same kind of data, 1-90.

In Column H I want to put in a formula which counts how many of the
instances in columns A,B,C,D,E are of less numerical value than that in
column G on the same row.

So for Example...

A B C D E F G H
22 45 62 84 89 56 2

Struggling a bit with it, any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
GD GD is offline
external usenet poster
 
Posts: 83
Default possible COUNTIF?

Hey, thanks for this, it works in as much as it adds the totals of the
figures up, however I was looking for more how many times the instance
occures, so rather than adding 45, 67, 89 up to report 201, it would report 3
(if the cell in G2 was 90)

"Max" wrote:

Yes, why not COUNTIF?

Assuming data in row2 down
In H2, copied down: =COUNTIF(A2:E2,"<"&G2)

Works? Click YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,500 Files:370 Subscribers:66
xdemechanik
---
"GD" wrote:
Hi, i have a question. Columns A, B, C, D, E have data in the cells ranging
between 1-90, indicating instances within a period of 90 minutes something
happened, so E.G 47, 85, 53 etc..

In column G I have the same kind of data, 1-90.

In Column H I want to put in a formula which counts how many of the
instances in columns A,B,C,D,E are of less numerical value than that in
column G on the same row.

So for Example...

A B C D E F G H
22 45 62 84 89 56 2

Struggling a bit with it, any ideas?

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

Hi GD

Max's formula works, its return 2 in H2 to the example provided
A B C D E F G
22 45 62 84 89 56

=COUNTIF(A2:E2,"<"&G2)

Copy and paste the formula into cell H2

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis





"GD" wrote:

Hey, thanks for this, it works in as much as it adds the totals of the
figures up, however I was looking for more how many times the instance
occures, so rather than adding 45, 67, 89 up to report 201, it would report 3
(if the cell in G2 was 90)

"Max" wrote:

Yes, why not COUNTIF?

Assuming data in row2 down
In H2, copied down: =COUNTIF(A2:E2,"<"&G2)

Works? Click YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,500 Files:370 Subscribers:66
xdemechanik
---
"GD" wrote:
Hi, i have a question. Columns A, B, C, D, E have data in the cells ranging
between 1-90, indicating instances within a period of 90 minutes something
happened, so E.G 47, 85, 53 etc..

In column G I have the same kind of data, 1-90.

In Column H I want to put in a formula which counts how many of the
instances in columns A,B,C,D,E are of less numerical value than that in
column G on the same row.

So for Example...

A B C D E F G H
22 45 62 84 89 56 2

Struggling a bit with it, any ideas?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default possible COUNTIF?

Try this:

=COUNTIF(A1:E1,"<"&G1)

--
Biff
Microsoft Excel MVP


"GD" wrote in message
...
Hi, i have a question. Columns A, B, C, D, E have data in the cells
ranging
between 1-90, indicating instances within a period of 90 minutes something
happened, so E.G 47, 85, 53 etc..

In column G I have the same kind of data, 1-90.

In Column H I want to put in a formula which counts how many of the
instances in columns A,B,C,D,E are of less numerical value than that in
column G on the same row.

So for Example...

A B C D E F G H
22 45 62 84 89 56 2

Struggling a bit with it, any ideas?





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


Give this a try:

=COUNTIF(A1:E1,"<"&G1)

GD;247559 Wrote:
Hi, i have a question. Columns A, B, C, D, E have data in the cells
ranging
between 1-90, indicating instances within a period of 90 minutes
something
happened, so E.G 47, 85, 53 etc..

In column G I have the same kind of data, 1-90.

In Column H I want to put in a formula which counts how many of the
instances in columns A,B,C,D,E are of less numerical value than that
in
column G on the same row.

So for Example...

A B C D E F G H
22 45 62 84 89 56 2

Struggling a bit with it, any ideas?



--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=69058

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
Countif only once Anto111 Excel Discussion (Misc queries) 4 August 28th 08 01:36 PM
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 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 04:09 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"