#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Formula Help!!!!

i need a formula to count the amount of cells with the same number in the two
cells. at the moment im using =countif(range,"="&range) but when i use this
it counts the blank squares which i dont want it to. i cant enter text into
the boxes as i have other formulas using them cells. does anybody have and
ideas is there another formula or a modifyed version of my current one ????
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Help!!!!

Do you mean where 2 adjacent cells are equal?

Try this:

=SUMPRODUCT(--(A1:A5<""),--(B1:B5<""),--(A1:A5=B1:B5))

Biff

"Bishop8910" wrote in message
...
i need a formula to count the amount of cells with the same number in the
two
cells. at the moment im using =countif(range,"="&range) but when i use
this
it counts the blank squares which i dont want it to. i cant enter text
into
the boxes as i have other formulas using them cells. does anybody have and
ideas is there another formula or a modifyed version of my current one
????



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Formula Help!!!!



A B C
D E
1 score Group A
score
2 No Team vs Thames Pirates
3 Thames Pirates vs No Team
4 Stobswell Scary Monsters vs Bracknell wanna Bees
5 Bracknell wanna Bees vs Stobswell Scary
6 Hoof Hearted No Game
7

i want the formula to count the cells if the score in A2 is the same as in
E2. at the moment it counts the empty cells and i dont want it to. i need it
to count the cells which are 0-0 and any other score which is a draw.

"T. Valko" wrote:

Do you mean where 2 adjacent cells are equal?

Try this:

=SUMPRODUCT(--(A1:A5<""),--(B1:B5<""),--(A1:A5=B1:B5))

Biff

"Bishop8910" wrote in message
...
i need a formula to count the amount of cells with the same number in the
two
cells. at the moment im using =countif(range,"="&range) but when i use
this
it counts the blank squares which i dont want it to. i cant enter text
into
the boxes as i have other formulas using them cells. does anybody have and
ideas is there another formula or a modifyed version of my current one
????




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Help!!!!

Just change the range references:

=SUMPRODUCT(--(A2:A7<""),--(E2:E7<""),--(A2:A7=E2:E7))

Biff

"Bishop8910" wrote in message
...


A B C
D E
1 score Group A
score
2 No Team vs Thames Pirates
3 Thames Pirates vs No Team
4 Stobswell Scary Monsters vs Bracknell wanna Bees
5 Bracknell wanna Bees vs Stobswell Scary
6 Hoof Hearted No Game
7

i want the formula to count the cells if the score in A2 is the same as in
E2. at the moment it counts the empty cells and i dont want it to. i need
it
to count the cells which are 0-0 and any other score which is a draw.

"T. Valko" wrote:

Do you mean where 2 adjacent cells are equal?

Try this:

=SUMPRODUCT(--(A1:A5<""),--(B1:B5<""),--(A1:A5=B1:B5))

Biff

"Bishop8910" wrote in message
...
i need a formula to count the amount of cells with the same number in
the
two
cells. at the moment im using =countif(range,"="&range) but when i use
this
it counts the blank squares which i dont want it to. i cant enter text
into
the boxes as i have other formulas using them cells. does anybody have
and
ideas is there another formula or a modifyed version of my current one
????






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Formula Help!!!!

Of course if both cells are equal you only really need to check that one is
not blank so this formula would suffice

=SUMPRODUCT(--(A2:A7<""),--(A2:A7=E2:E7))

"T. Valko" wrote:

Just change the range references:

=SUMPRODUCT(--(A2:A7<""),--(E2:E7<""),--(A2:A7=E2:E7))

Biff

"Bishop8910" wrote in message
...


A B C
D E
1 score Group A
score
2 No Team vs Thames Pirates
3 Thames Pirates vs No Team
4 Stobswell Scary Monsters vs Bracknell wanna Bees
5 Bracknell wanna Bees vs Stobswell Scary
6 Hoof Hearted No Game
7

i want the formula to count the cells if the score in A2 is the same as in
E2. at the moment it counts the empty cells and i dont want it to. i need
it
to count the cells which are 0-0 and any other score which is a draw.

"T. Valko" wrote:

Do you mean where 2 adjacent cells are equal?

Try this:

=SUMPRODUCT(--(A1:A5<""),--(B1:B5<""),--(A1:A5=B1:B5))

Biff

"Bishop8910" wrote in message
...
i need a formula to count the amount of cells with the same number in
the
two
cells. at the moment im using =countif(range,"="&range) but when i use
this
it counts the blank squares which i dont want it to. i cant enter text
into
the boxes as i have other formulas using them cells. does anybody have
and
ideas is there another formula or a modifyed version of my current one
????








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Help!!!!

if both cells are equal you only really need to check that one is
not blank


Yeah, you're right!

Biff

"daddylonglegs" wrote in message
...
Of course if both cells are equal you only really need to check that one
is
not blank so this formula would suffice

=SUMPRODUCT(--(A2:A7<""),--(A2:A7=E2:E7))

"T. Valko" wrote:

Just change the range references:

=SUMPRODUCT(--(A2:A7<""),--(E2:E7<""),--(A2:A7=E2:E7))

Biff

"Bishop8910" wrote in message
...


A B C
D E
1 score Group A
score
2 No Team vs Thames
Pirates
3 Thames Pirates vs No Team
4 Stobswell Scary Monsters vs Bracknell wanna Bees
5 Bracknell wanna Bees vs Stobswell Scary
6 Hoof Hearted No Game
7

i want the formula to count the cells if the score in A2 is the same as
in
E2. at the moment it counts the empty cells and i dont want it to. i
need
it
to count the cells which are 0-0 and any other score which is a draw.

"T. Valko" wrote:

Do you mean where 2 adjacent cells are equal?

Try this:

=SUMPRODUCT(--(A1:A5<""),--(B1:B5<""),--(A1:A5=B1:B5))

Biff

"Bishop8910" wrote in message
...
i need a formula to count the amount of cells with the same number in
the
two
cells. at the moment im using =countif(range,"="&range) but when i
use
this
it counts the blank squares which i dont want it to. i cant enter
text
into
the boxes as i have other formulas using them cells. does anybody
have
and
ideas is there another formula or a modifyed version of my current
one
????








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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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