LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default count if the two cells are equal

Make sure you're in automatic calculation mode.

In xl2003:
tools|options|calculation tab

sdwilson wrote:

Thanks! That worked but now i have another problem!
I am using the same formula but rather then =
When I add information, the formula adjusts however if I take that
information away, the formula doesn't change! THis also happens with COUNTA
function as well. Any ideas???

"David Biddulph" wrote:

=SUMPRODUCT(--(A1:A20=B1:B20))
but if you want to omit rows where both are blank, try
=SUMPRODUCT(--(A1:A20=B1:B20),--(A1:A20<"")) or
=SUMPRODUCT((A1:A20=B1:B20)*(A1:A20<""))
--
David Biddulph

"sdwilson" wrote in message
...
What do I use if I have two collums of data and I want to count how many
of
them are the same
ie - A1 has a value of 1.1 while B1 has a value of 1.1
A2 has a value of 1.2 while B2 has a value of 1.4
I want the function to tell me that out of those two - one of those valus
remain the same in the next





--

Dave Peterson


 
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
count if equal to not working? Still_poor Excel Worksheet Functions 1 October 29th 08 03:20 PM
Count if does not equal JRD Excel Worksheet Functions 1 December 1st 07 02:36 PM
I want to count the highest number of equal cells fiur Excel Worksheet Functions 6 October 16th 06 04:47 AM
COUNT IF NOT EQUAL TO ZERO ellebelle Excel Worksheet Functions 12 June 24th 05 04:08 PM
Count cells with length not equal to 7 cottage6 Excel Worksheet Functions 6 April 7th 05 09:04 PM


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