Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Computer Technical Help
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2007, 04:19 PM
Nottom Nottom is offline
Senior Member
 
Join Date: Feb 2003
Location: Carpal \\\'Tunnel 4 Life
Posts: 9,412
Default excel macro help

I don't have a lot of experience using macros, but I am trying to learn. Hopefully this will be pretty simple to those of you who use them regularly.

Essentially, I need to take a selection of data and then output a series of formulas based on them.

Assume that the data is currently selected.

I need (as an example)
A1 = Average(data)
A2 = Stdev(data)
A3 = Count(data)

Any help would be very appreciated.
Reply With Quote
  #2  
Old 02-12-2007, 06:01 PM
udbrky udbrky is offline
Senior Member
 
Join Date: Oct 2005
Location: Having adventures 40 hrs/week
Posts: 1,008
Default Re: excel macro help

I'm not sure if I'm understanding what all you're trying to do.

But if this is what you're looking at:

data contained in cells b4:e10

You could type in A1:

=AVERAGE(b4:e10)

and A2:
=STDEV(b4:e10)

and A3:
=COUNT(b4:e10)

I think that would work.
Reply With Quote
  #3  
Old 02-12-2007, 06:34 PM
Nottom Nottom is offline
Senior Member
 
Join Date: Feb 2003
Location: Carpal \\\'Tunnel 4 Life
Posts: 9,412
Default Re: excel macro help

I was hoping to be able to use a macro to do it. Basically I want to be able to select a range of data, run a macro and then output a block of cells that perform different opperations on that data.

Certainly I could type out all the cells individually, but I'm hoping to find a way to automate it and save some time since I need to do this for a ton of different data sets.

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.