#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Countif

Hello all, could someone please help... I work in a school and am trying to
create a tracking grid to map pupil progress.

I need to count the number of times the value in a cell in one column is at
least 2 more than a value in another colume e.g. where a cell in column D
holds a value greater than the corresponding cell in column C by at least
2....

C D
1 3
2 4
2 3
1 5

would give a value of 3

Can I use countif to do this??
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 265
Default Countif

Try...

=SUMPRODUCT(--(D2:D5=C2:C5*2))

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions

In article ,
Katy wrote:

Hello all, could someone please help... I work in a school and am trying to
create a tracking grid to map pupil progress.

I need to count the number of times the value in a cell in one column is at
least 2 more than a value in another colume e.g. where a cell in column D
holds a value greater than the corresponding cell in column C by at least
2....

C D
1 3
2 4
2 3
1 5

would give a value of 3

Can I use countif to do this??
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 320
Default Countif

I think he means:
=SUMPRODUCT(--(D2:D5=C2:C5+2))
("+", not "*")

"Domenic" wrote in message
...
Try...

=SUMPRODUCT(--(D2:D5=C2:C5*2))

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions

In article ,
Katy wrote:

Hello all, could someone please help... I work in a school and am trying
to
create a tracking grid to map pupil progress.

I need to count the number of times the value in a cell in one column is
at
least 2 more than a value in another colume e.g. where a cell in column D
holds a value greater than the corresponding cell in column C by at least
2....

C D
1 3
2 4
2 3
1 5

would give a value of 3

Can I use countif to do this??
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 265
Default Countif

Mis-read... Thanks for catching it, much appreciated!

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions

In article ,
"Bob Umlas" wrote:

I think he means:
=SUMPRODUCT(--(D2:D5=C2:C5+2))
("+", not "*")

"Domenic" wrote in message
...
Try...

=SUMPRODUCT(--(D2:D5=C2:C5*2))

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions

In article ,
Katy wrote:

Hello all, could someone please help... I work in a school and am trying
to
create a tracking grid to map pupil progress.

I need to count the number of times the value in a cell in one column is
at
least 2 more than a value in another colume e.g. where a cell in column D
holds a value greater than the corresponding cell in column C by at least
2....

C D
1 3
2 4
2 3
1 5

would give a value of 3

Can I use countif to do this??
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
countif not the same Andrew@rushington[_2_] Excel Discussion (Misc queries) 1 November 30th 07 10:12 AM
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 05:10 PM.

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"