Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 71
Default column similarity

I need to be able to rate the similarity of two columns, purely on a 'hit or
miss' basis on each cell. I apologise if this is confusing!

For example:
If column A looks like:
1

1
1
1

1

and column B looks like:

1
1

1
1
1

(where 1 is a 'hit' and a blank is a 'miss' for 7 bits of data) Is there a
way of comparing the two and achieving a value of similarity or dissimilarity
(ie % difference)?

Thank you anyone who got this far!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default column similarity

Not sure if this is what you want, but here goes:

you have 7 bits of data A1:A7
to compare with B1:B7

in cells C1:C7 input formula =ABS(A1-B1), ABS (A2-B2), etc. until row 7

in cell C8 use formula =SUM(C1:C7)/7 to get the percentage difference


"Damian" wrote:

I need to be able to rate the similarity of two columns, purely on a 'hit or
miss' basis on each cell. I apologise if this is confusing!

For example:
If column A looks like:
1

1
1
1

1

and column B looks like:

1
1

1
1
1

(where 1 is a 'hit' and a blank is a 'miss' for 7 bits of data) Is there a
way of comparing the two and achieving a value of similarity or dissimilarity
(ie % difference)?

Thank you anyone who got this far!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default column similarity

you can also use an array formula

"Ivanl" wrote:

Not sure if this is what you want, but here goes:

you have 7 bits of data A1:A7
to compare with B1:B7

in cells C1:C7 input formula =ABS(A1-B1), ABS (A2-B2), etc. until row 7

in cell C8 use formula =SUM(C1:C7)/7 to get the percentage difference


"Damian" wrote:

I need to be able to rate the similarity of two columns, purely on a 'hit or
miss' basis on each cell. I apologise if this is confusing!

For example:
If column A looks like:
1

1
1
1

1

and column B looks like:

1
1

1
1
1

(where 1 is a 'hit' and a blank is a 'miss' for 7 bits of data) Is there a
way of comparing the two and achieving a value of similarity or dissimilarity
(ie % difference)?

Thank you anyone who got this far!

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
divide column(x) by column(y) to give column(x/y) in excel? James New Users to Excel 2 April 24th 23 11:46 AM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
formula : =(column A)+(column B)-(column C). Why won't it work? Kristin Drover Excel Discussion (Misc queries) 3 October 18th 06 08:48 PM
Divide Column A by Column B multiply Column C Stumped Excel Worksheet Functions 3 December 28th 05 05:51 AM
Evaluating similarity of text strings Alan Excel Worksheet Functions 6 March 30th 05 01:35 AM


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