Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Newbie, Countif Question

How do I Countif A1=B1 OR A1=C1 OR B1=C1, Trying to build something
and wondering, help if you can, thank you

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur
 
Posts: n/a
Default Newbie, Countif Question

Hi,

Assuming your datais arranged in range A1:C4 like this

5 4 6
5 6 1
4 4 2
1 2 1

Use the following array formula (Ctrl+Shift+Enter) in cell C7

=COUNT(IF(($A$1:$A$4=$B$1:$B$4)+($A$1:$A$4=$C$1:$C $4)+($B$1:$B$4=$C$1:$C$4),$C$1:$C$4))

Regards,

Ashish Mathur

" wrote:

How do I Countif A1=B1 OR A1=C1 OR B1=C1, Trying to build something
and wondering, help if you can, thank you


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Newbie, Countif Question

Does this work for you:

=SUMPRODUCT(($A$1:$A$4=$B$1:$B$4)+(B1:B4=C1:C4))
?
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
wrote in message
oups.com...
How do I Countif A1=B1 OR A1=C1 OR B1=C1, Trying to build something
and wondering, help if you can, thank you


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 Function Question Josh in Indy Excel Discussion (Misc queries) 4 April 6th 06 08:28 PM
total dumb newbie question ayla Excel Discussion (Misc queries) 1 November 30th 05 03:57 PM
countif question floridasurfn Excel Worksheet Functions 3 March 14th 05 02:03 AM
Newbie Question: Data/Sort [email protected] New Users to Excel 1 February 21st 05 11:37 PM
Newbie to charts question - projecting values between data points 38N90W Excel Discussion (Misc queries) 3 January 6th 05 05:15 AM


All times are GMT +1. The time now is 12:09 AM.

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"