Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
divide column(x) by column(y) to give column(x/y) in excel? | New Users to Excel | |||
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 | Excel Discussion (Misc queries) | |||
formula : =(column A)+(column B)-(column C). Why won't it work? | Excel Discussion (Misc queries) | |||
Divide Column A by Column B multiply Column C | Excel Worksheet Functions | |||
Evaluating similarity of text strings | Excel Worksheet Functions |