+ Reply to Thread
Results 1 to 6 of 6

Average Non Contigious Cells

  1. #1
    Registered User
    Join Date
    10-17-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2016
    Posts
    99

    Average Non Contigious Cells

    I am trying to find the average of the non contigoius cells of column H. H4:H10, H12:H18, H20:H26, H28:H34, and H36:42 (Not the weekly averages). The formula should appear in H44. In addition, the formula needs to contain a stipulation for any cell equaling 0 to not be included. I've gotten close several times, but just cant seem to nail it down.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Average Non Contigious Cells

    hi Adam. maybe:
    =AVERAGEIFS(H4:H42,H4:H42,"<>0",B4:B42,"<>WEEK*")

    row 44 doesn't seem like it needs merging of cells. you could just expand the row width for it. there is no issue for this scenario, but try to avoid merged cells if possible. lots of functions don't go well with it

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Average Non Contigious Cells

    This problem was already solved for you.

    http://www.excelforum.com/excel-formulas-and-functions/969309-need-help-finishing-my-sheet.html#post3480228
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    10-17-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2016
    Posts
    99

    Re: Average Non Contigious Cells

    Thanks, I appreciate it. Additionally, is there a way to calculate the current % of sales against the budget everyday? Again, not just something that is a formula being used through each week, but everyday. B44 would be where the formula would go. Thanks in advance.

    Adam

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Average Non Contigious Cells

    regarding the link to newdoverman's link, i couldn't access it. judging from the title of the link & by viewing forum post, i think it is:
    http://www.excelforum.com/excel-form...ml#post3480228
    seems to be the same address, so i'm not sure why it couldn't work for me. anyways, if it is indeed the same problem, please ask admins or moderators to combine the thread.

    and like what i told you in PM, a new topic should be started in a new thread in future. try:
    =SUMIFS(E4:E43,E4:E43,"<>0",B4:B43,"<>WEEK*")/SUMIFS(F4:F43,E4:E43,">0",B4:B43,"<>WEEK*")

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Average Non Contigious Cells

    For some reason, the link that I provided actually had http://http// as the start of the URL instead of just http:// and that caused the link to fail.

+ 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. [SOLVED] need formula to average cells but if one cell has N/A then dont average and input N/A
    By CityInspector in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 04:16 PM
  2. Replies: 14
    Last Post: 06-14-2013, 09:00 PM
  3. The rank of average ranks excluding empty cells but including their average.
    By Terminal45 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2012, 03:44 AM
  4. Comparing values in non contigious cells
    By thePriest in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2005, 02:07 AM
  5. Multiply non-contigious arrays
    By Rob Gould in forum Excel General
    Replies: 7
    Last Post: 02-28-2005, 09:06 AM

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