I Hate Computers
New Member
- Joined
- Dec 4, 2020
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
I need to calc the avg and stdev on a vertical col of numbers. anywhere from 5 to 50 numbers. I have all the other macros worked out to add rows and such between groups and to move around the active cell. I'm stuck with getting the average and stdev on a range of numbers that isn't always the same. length.
What I need is a macro to calc the average of C192 to C203 and put it into C204. and to calc the Stdev of C192 to C203 and put it into C205. on a relative basis. maybe 20 cells down there will be another set of data that needs the same calcs. I don't mind pressing cntrl-a 200 times to do this. and yes, I tried using Sendkeys - didn't work. don't think less of me for trying SendKeys.
What I need is a macro to calc the average of C192 to C203 and put it into C204. and to calc the Stdev of C192 to C203 and put it into C205. on a relative basis. maybe 20 cells down there will be another set of data that needs the same calcs. I don't mind pressing cntrl-a 200 times to do this. and yes, I tried using Sendkeys - didn't work. don't think less of me for trying SendKeys.