I need to use the ttest function. The format of the ttest command is: ttest (array1, array2, tails, type).
However, my data are not in adjacent cells, which is the way I'm used to using array data (e.g. A2:A10 would be array 1). Is there a way to select several non-adjacent cells as an array?
For example, suppose the first sample is in cells A15, A20, A23 and the second sample is in cells B18, B23, B26. I know the following is an incorrect format, but am looking for something like:
ttest(A15;A20;A23, B18;B23;B26, 2, 1)
Thanks in advance for any help!
However, my data are not in adjacent cells, which is the way I'm used to using array data (e.g. A2:A10 would be array 1). Is there a way to select several non-adjacent cells as an array?
For example, suppose the first sample is in cells A15, A20, A23 and the second sample is in cells B18, B23, B26. I know the following is an incorrect format, but am looking for something like:
ttest(A15;A20;A23, B18;B23;B26, 2, 1)
Thanks in advance for any help!