Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default sumif / sumproduct for number of coincidences

Hi all,

I have two list of numbers (say colums A and B) that change values for
different settings.

I need to have a formula that counts the number of coincidences in
colum B. Coincidences mean that the value in a B cell, cell b10 for
example, has the same value that the matching cell in A (cell A10 in
this case). Other example below. In that case the number of
coincidences is 1.

A B

3 2
5 5
1 7
7 1

Thanks for your time
Mika

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default sumif / sumproduct for number of coincidences

Hi Mika

Try
=SUMPRODUCT(--(A1:A4=B1:B4))

--
Regards

Roger Govier


"Mika" wrote in message
ups.com...
Hi all,

I have two list of numbers (say colums A and B) that change values for
different settings.

I need to have a formula that counts the number of coincidences in
colum B. Coincidences mean that the value in a B cell, cell b10 for
example, has the same value that the matching cell in A (cell A10 in
this case). Other example below. In that case the number of
coincidences is 1.

A B

3 2
5 5
1 7
7 1

Thanks for your time
Mika



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default sumif / sumproduct for number of coincidences

Roger, you did it !!

Thanks
Mika

Roger

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
SUMIF or SUMPRODUCT to total cells containing multiple texts Terranoman Excel Worksheet Functions 31 October 12th 06 08:14 AM
Sumproduct (Sumif) with Nested Or Criteria bkt Excel Worksheet Functions 9 September 5th 06 06:45 PM
SUMPRODUCT or SUMIF Serge Excel Discussion (Misc queries) 17 April 10th 06 11:50 PM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM
Sumif not Sumproduct David Excel Worksheet Functions 4 December 8th 04 11:39 AM


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