+ Reply to Thread
Results 1 to 9 of 9

Average within numerous cells

  1. #1
    Registered User
    Join Date
    01-19-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    4

    Average within numerous cells

    Hi,

    I'm having trouble executing a formula, which i suppose in theory is very simple

    What i want to be able to do is demonstrate the average of number between a certain amount of cells

    So if i had 80 for example in one cell, and wanted the four cells in the row below to show 20 each, thus 80/4

    Can this be done?

    Kind regards
    Last edited by CraigSkinn; 01-19-2014 at 11:18 AM.

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Having trouble to execute a formula

    Hi Skinn

    welcome to the Forum

    open the attached workbook and enter the value something like 80 and put cursor on it and click on the button
    Attached Files Attached Files
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Registered User
    Join Date
    01-19-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Having trouble to execute a formula

    Hi

    Thanks for the reply

    If i wanted to put a 0 in the one of the four cells below, thus dividing the top number by three rather than four, could this be done?

    If so, what would the formula be?

    Kind regards

  4. #4
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Having trouble to execute a formula

    need some clarification

    lets assume in cell A2 if we enter 40 & in any cell between A3 and A5 if we enter 0 then next to that 0 cell u want to divide by 3 to 40 is it what u r looking for

  5. #5
    Registered User
    Join Date
    01-19-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Having trouble to execute a formula

    Attached is what I'm trying to do,

    I want the four cells beneath the fee box (80 in this case, though could change) to be divided by the fee box, but with the option to
    changing the fee amount and being able to put a 0 underneath one or more of the headings, thus reducing the amount of cells the "fee"
    will be divided into.

    I've put the numbers in how i'd like it to come up, hopefully you understand with respect with being able to achieve this but by being
    able to change fee amounts and put 0's in some columns!

    Thanks very much!
    Attached Files Attached Files

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Having trouble to execute a formula

    Title adapted much better !
    Last edited by Pepe Le Mokko; 01-19-2014 at 11:27 AM.

  7. #7
    Registered User
    Join Date
    01-19-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    4

    Average within numerous cells

    Is that ok?
    Last edited by CraigSkinn; 01-19-2014 at 11:16 AM.

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Average within numerous cells

    Indeed, now all members fluent in this type of problem could help you

  9. #9
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Average within numerous cells

    now try this attached file
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. IF cell=error execute sub 1 if value execute sub 2... possible?
    By CDNcameron in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2013, 05:28 PM
  2. Execute string as formula
    By ncandade in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 03:20 PM
  3. Execute a macro from within a formula
    By modytrane in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-14-2010, 11:33 AM
  4. Execute a formula Indirectly
    By TomTheTrader in forum Excel General
    Replies: 2
    Last Post: 01-22-2008, 08:01 AM
  5. execute once formula
    By tekman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2005, 01:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1