Hiya, I'm new here and relatively new to complicated Excel spreadsheets so I was wondering if you could help:
I'm trying to make a spreadsheet that users can input two adjacent lists of numbers (columns A and B) and get a statistical output from those two sets of numbers. Column C returns the difference between each pair of numbers (B1-A1, B2-A2 etc.) and column D returns the mean difference (I'm trying to make a paired t test). The problem is that I want the user to be able to just input their data and not have to edit the reference fields for their data, so I drag the column C formula far down the spreadsheet (further than anyone could ever fill with data) and use conditional formatting to hide all the zeros. But now column D incorporates all those zeros into the mean value (which of course is very wrong).
So my question is, can I get column D to only reference as many rows in column C, as there are rows entered in column A (or B)? Does that make sense?
Thank you!
hrj21
Bookmarks