Hi all, I have quite a bit of data I'm trying to reduce in Excel, and I'm having some trouble coming up with a straightforward way to do it. Perhaps I'll need to break out Matlab or something if required. Here's what I'm trying to do: I have data in the following table: I want to calculate the median and stdev of the resistance for each sample. Resistance is (Voltage1-Voltage2)/(Current1-Current2). I imagine this requires a macro of some sort, but I'm not a VBA wizard, thus thinking about going the Matlab route if required. This is just a subset of my data, in the actual case I've got between 5000 and 7000 rows to reduce. Thanks for any help.