Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Counting Matched Values

Excel 2003, I have a row of Entries A,B,C,or D in from E2 through S2.
I have A,B,C, or D also in a row, E98 though S98. They are not necessarily
in the same order.
I need to sum the number of matches by row, that is if E2 matches E98, and
H2 matches H98, and S2 matches S98, I need a count of three.
If I change the entry in J2 to match what is in J98, the count should change
to four.
The original formula will go into cell C2. I will then fill this formula
down to row 96.

I cant seem to come up with a formula to do that.
Please help?
Pepper
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Counting Matched Values

Try this

=SUMPRODUCT(--(E2:S2=E98:S98))

--
Biff
Microsoft Excel MVP


"Pepper" wrote in message
...
Excel 2003, I have a row of Entries A,B,C,or D in from E2 through S2.
I have A,B,C, or D also in a row, E98 though S98. They are not
necessarily
in the same order.
I need to sum the number of matches by row, that is if E2 matches E98, and
H2 matches H98, and S2 matches S98, I need a count of three.
If I change the entry in J2 to match what is in J98, the count should
change
to four.
The original formula will go into cell C2. I will then fill this formula
down to row 96.

I cant seem to come up with a formula to do that.
Please help?
Pepper



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Counting Matched Values

I tried sumproduct, but never created the correct syntax. More work on it to
come.
Thank you very much

"T. Valko" wrote:

Try this

=SUMPRODUCT(--(E2:S2=E98:S98))

--
Biff
Microsoft Excel MVP


"Pepper" wrote in message
...
Excel 2003, I have a row of Entries A,B,C,or D in from E2 through S2.
I have A,B,C, or D also in a row, E98 though S98. They are not
necessarily
in the same order.
I need to sum the number of matches by row, that is if E2 matches E98, and
H2 matches H98, and S2 matches S98, I need a count of three.
If I change the entry in J2 to match what is in J98, the count should
change
to four.
The original formula will go into cell C2. I will then fill this formula
down to row 96.

I cant seem to come up with a formula to do that.
Please help?
Pepper




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Counting Matched Values

You're welcome!

--
Biff
Microsoft Excel MVP


"Pepper" wrote in message
...
I tried sumproduct, but never created the correct syntax. More work on it
to
come.
Thank you very much

"T. Valko" wrote:

Try this

=SUMPRODUCT(--(E2:S2=E98:S98))

--
Biff
Microsoft Excel MVP


"Pepper" wrote in message
...
Excel 2003, I have a row of Entries A,B,C,or D in from E2 through S2.
I have A,B,C, or D also in a row, E98 though S98. They are not
necessarily
in the same order.
I need to sum the number of matches by row, that is if E2 matches E98,
and
H2 matches H98, and S2 matches S98, I need a count of three.
If I change the entry in J2 to match what is in J98, the count should
change
to four.
The original formula will go into cell C2. I will then fill this
formula
down to row 96.

I cant seem to come up with a formula to do that.
Please help?
Pepper






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
How to count the matched values? Eric Excel Discussion (Misc queries) 10 August 25th 07 04:17 AM
How to count the matched values? Eric Excel Worksheet Functions 0 August 24th 07 04:52 PM
Matching numbers in an Array and returning values for matched numb Tiger Excel Discussion (Misc queries) 8 April 26th 07 06:14 AM
Return Matched Numeric Values across Rows Sam via OfficeKB.com Excel Worksheet Functions 2 January 2nd 07 11:03 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM


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