ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 04-02-2008, 01:21 PM
eldwardo eldwardo is offline
Registered User
 
Join Date: 02 Apr 2008
Posts: 17
eldwardo is on a distinguished road
How to COUNTIF 2 fields are equal?

Hello,

Wondering if there is anyway to COUNTIF any cells within a group of cells (in this case BZ5:BZ130) match their corresponding row cells in another group of cells (in this case CX5:CX130). I tried the following, but it does not work. Any suggestions?

=COUNTIF(BZ5:BZ130,"=$CX5:$CX130")

Thanks.
Reply With Quote
  #2  
Old 04-02-2008, 01:23 PM
NBVC's Avatar
NBVC NBVC is online now
Forum Moderator
 
Join Date: 06 Dec 2006
Location: Mississauga, CANADA
Posts: 7,658
NBVC will become famous soon enough NBVC will become famous soon enough
Try:

=Sumproduct(--(BZ5:BZ130=$CX5:$CX130))
__________________
Where there is a will there are many ways. Finding one that works for you is the challenge!

Please read the Forum Rules: Rules
Reply With Quote
  #3  
Old 04-02-2008, 01:25 PM
eldwardo eldwardo is offline
Registered User
 
Join Date: 02 Apr 2008
Posts: 17
eldwardo is on a distinguished road
big thanks. you rock.
Reply With Quote
Reply

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 02:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0