Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default Most frequent string in a column matched against a value in its ro

I currently have two columns with several text entries - one column is the
'Category' column and the other is the 'Name' column. I've been able to find
out the most frequent string in Name by using the following

=INDEX(Name;MODE(IF(Name<"";MATCH(Name;Name;0))))

However, what I want to know is the most frequent Name for a specific
Category - for example, the most frequent Name string whenever the Category
string is "Buyer". I tried doing this by using SUMPRODUCT and multiplying the
Match(Name) value with (Category="Buyer") but that only returned #N/A (even
as an array,formula) so either I got the syntax wrong or I was thinking along
the wrong lines.

Any good ideas? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Most frequent string in a column matched against a value in its ro

Array enter:

=INDEX(Name,MODE(IF(Name<"",IF(Category="Buyer",M ATCH(Name,Name,0)))))

HTH,
Bernie
MS Excel MVP


"Babymech" wrote in message
...
I currently have two columns with several text entries - one column is the
'Category' column and the other is the 'Name' column. I've been able to find
out the most frequent string in Name by using the following

=INDEX(Name;MODE(IF(Name<"";MATCH(Name;Name;0))))

However, what I want to know is the most frequent Name for a specific
Category - for example, the most frequent Name string whenever the Category
string is "Buyer". I tried doing this by using SUMPRODUCT and multiplying the
Match(Name) value with (Category="Buyer") but that only returned #N/A (even
as an array,formula) so either I got the syntax wrong or I was thinking along
the wrong lines.

Any good ideas? Thanks.



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
Finding the least frequent value in an array Dave D[_2_] Excel Discussion (Misc queries) 3 May 5th 07 12:56 PM
Return Numeric Value to their Matched Value Position in Single Column Sam via OfficeKB.com Excel Worksheet Functions 3 March 6th 07 05:18 PM
Find the most frequent date MarkN Excel Worksheet Functions 3 June 26th 06 01:15 AM
Return Title to matched column [email protected] New Users to Excel 1 February 21st 06 06:04 AM
Finding the most frequent occurances Bear Excel Discussion (Misc queries) 4 November 7th 05 06:32 PM


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