Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default creating a simple formula for a range of cells

I want to select a range of cells vertically arranged from F9:F39, and divide
by 30 to average on any noted range of 30 days. Would the formula for this be
(F9:F39)/30 ?
--
Christopher Herring
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default creating a simple formula for a range of cells

First off, your range F9:F39 is actually 31 cells, not 30. So, dividing by
30 would not give you a true average.

That being said, to determine the average of a range, you can use the
AVERAGE function.

=AVERAGE(F9:F39)

This is effectively the sum of a range, divided by the count of a range. Or:

=SUM(F9:F39)/COUNT(F9:F39)

HTH,
Elkar


"Christopher" wrote:

I want to select a range of cells vertically arranged from F9:F39, and divide
by 30 to average on any noted range of 30 days. Would the formula for this be
(F9:F39)/30 ?
--
Christopher Herring

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default creating a simple formula for a range of cells

Have you tried the AVERAGE function?

Example:
=AVERAGE(F8:F39)

(Note: F9:F39 is 31 cells)


Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Christopher" wrote:

I want to select a range of cells vertically arranged from F9:F39, and divide
by 30 to average on any noted range of 30 days. Would the formula for this be
(F9:F39)/30 ?
--
Christopher Herring

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default creating a simple formula for a range of cells

.... and F8:F39 is 32 cells, Ron, so perhaps F9:F38 or F10:F39 for 30 cells?

It is also worth remembering that AVERAGE will ignore blank cells or cells
with non-numerical contents, whereas SUM()/30 will divide by 30 regardless
of how many cells have numerical contents so effectively treats the other
cells as having a number zero rather than excluding from the averaging.
--
David Biddulph

"Ron Coderre" wrote in message
...
Have you tried the AVERAGE function?

Example:
=AVERAGE(F8:F39)

(Note: F9:F39 is 31 cells)


Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Christopher" wrote:

I want to select a range of cells vertically arranged from F9:F39, and
divide
by 30 to average on any noted range of 30 days. Would the formula for
this be
(F9:F39)/30 ?
--
Christopher Herring



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a very simple spreadsheet for my diet Tim Excel Discussion (Misc queries) 3 October 18th 06 12:43 PM
Simple Sumproduct of 2 Columns, with some blank cells in range SteveC Excel Discussion (Misc queries) 4 May 12th 06 07:20 PM
I'm creating a simple spread sheet Jan in Excel Excel Discussion (Misc queries) 2 January 2nd 06 07:48 PM
simple formula with blank cells Brian Excel Worksheet Functions 1 April 1st 05 04:41 AM
Creating an EXCEL COUNTIF formula for a range of values Pat Walsh Excel Discussion (Misc queries) 5 January 21st 05 02:57 PM


All times are GMT +1. The time now is 09:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"