# Statistics - similarities between two curves

#### MarinM

##### New Member
Hi,
I have to compare different sets of values (continuos curves), each curve is a range of 24 values (hours in a day). Eg. A is in range B2:B25, curve B in C2:C25, C in D2:D25. What formula can be used to determine which curve is most similar to curve A (either by shape and by overall)?

So far I tried:
a) CORREL
b) COVAR
c) =ABS((B2-C2)*(B3-C3)*(B4-C4)...(B25-C25))

I'm using a) for the similarity by shape and c) for similarity by both shape and value but something tells me there is a batter solution (than my lousy math).

Marin

ps: Excel is MS Excel 2007

### Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Replies
3
Views
1K
Replies
10
Views
5K
Replies
1
Views
474
Replies
2
Views
817
Replies
3
Views
786

### Forum statistics

1,221,053
Messages
6,157,638
Members
451,426
Latest member
VinnyDoesntKnowExcelCode

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back