+ Reply to Thread
Results 1 to 5 of 5

Averaging out cells with formulas in them?

  1. #1
    Registered User
    Join Date
    09-02-2018
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    9

    Averaging out cells with formulas in them?

    Hi all,

    In the attached doc, I need a formula that will successfully average the cells with the orange background in the second tab. Any time I try and run an average formula over cells with formulas already in them, I get a DIV error. I've looked online and it seems quite a few other people have had the same problem. None of their suggested formulas have worked for me

    Any ideas?

    Doc attached!
    Attached Files Attached Files
    Last edited by AliGW; 01-22-2019 at 02:00 AM. Reason: Irrelevant section of thread title removed.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: What a week I'm having! - Averaging out cells with formulas in them?

    Maybe try taking the quotes out of your formulas as they are making the numbers you are using text. ie. make "100.00" = 100

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: What a week I'm having! - Averaging out cells with formulas in them?

    And then use this array formula to calculate the averages:

    =AVERAGE(IF(MOD(COLUMN($D4:$N4)-COLUMN($D4),2)=0,$D4:$N4,0))

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    09-02-2018
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: What a week I'm having! - Averaging out cells with formulas in them?

    Thankyou both! Worked like a charm.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: What a week I'm having! - Averaging out cells with formulas in them?

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Averaging a week's worth of daily averages, on a WTD basis...
    By GarryBaker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-12-2014, 05:09 PM
  2. [SOLVED] Problem averaging body mass throughout the week with athletes.
    By carrollkm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2013, 11:55 PM
  3. [SOLVED] Summing up and averaging multiple rows depending on week or month
    By Roxner in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 10-10-2013, 09:08 AM
  4. Need help with dashboard formulas - conditional averaging and division
    By erabinov in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-23-2013, 09:02 PM
  5. Averaging data from Monday 7am to Sunday 7pm every week
    By dinker454 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-17-2013, 12:47 PM
  6. Averaging 2 conseuctive formulas
    By arnold101578 in forum Excel General
    Replies: 2
    Last Post: 07-23-2012, 01:13 AM
  7. [SOLVED] Conditional Formulas For Averaging
    By William in forum Excel General
    Replies: 3
    Last Post: 02-25-2005, 04:06 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