+ Reply to Thread
Results 1 to 12 of 12

Cell average issues

  1. #1
    Registered User
    Join Date
    05-05-2016
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    16

    Cell average issues

    I'm try to create a formula that takes a percentage in four cells per page up to 6 pages. So with a possibility of 24 total entries. that I fill in weekly. Lets say I only have 18 entries that week. So I will like the formula to see that there is only 18 entries and give me the average percentage on those 18 entries not the total 24, the rest will be zero. In the current page the cells are position in (H18,B18,B5,H5) location.

    Any info will be apperciated

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,936

    Re: Cell average issues

    Have you tried

    =AVERAGE(H18,B18,B5,H5)

    It will ignore blank cells.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Cell average issues

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Registered User
    Join Date
    05-05-2016
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    16

    Re: Cell average issues

    I have tried this, but the percentage don't come out correctly. For example in a given week I have a possibility of 24 cells that could get a percentage. but on average weeks, I only populate a total of 18 on that formula will still count the other 6.
    For example 18 cells will add to 840/18 = 49 but if those 24 are accounted for 840/24=35. Hopefully this breaks down what i'm trying to accomplish. But thank you for your input.

  5. #5
    Registered User
    Join Date
    05-05-2016
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    16

    Re: Cell average issues

    Thanks for responding I will give this a try.

  6. #6
    Registered User
    Join Date
    05-05-2016
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    16

    Re: Cell average issues

    Thanks for the formula, but it not work for me.

    this is what i'm trying to work with.====> AVERAGEIF("B5, H5, B18, H18,M5,S5,M18,S18", ">1%","")

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,936

    Re: Cell average issues

    Try

    AVERAGEIF((B5, H5, B18, H18,M5,S5,M18,S18), ">1%")

  8. #8
    Registered User
    Join Date
    05-05-2016
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    16

    Re: Cell average issues

    Thank you for the help but it gave me this #value! error

  9. #9
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,936

    Re: Cell average issues

    My formula was incorrect. You cannot use a discontiguous range in an XXXIF type function so you have to build your own.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The "No Values" message comes up if there are no values >1% in any of the cells.

  10. #10
    Registered User
    Join Date
    05-05-2016
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    16

    Re: Cell average issues

    Thank you so much for that formula, I'm running it through the motions to make sure it doesn't have no kinks.

    =IFERROR((H18+B18+B5+H5+M5+M18+S5+S18+X18+X5+AD5+AD18+B38+H38+B51+H51+M38+S38+M51+S51+X38+AD38+X51+AD51) / ((H18>0.01%)+(B18>0.01%)+(B5>0.01%)+(H5>0.01%)+(M5>0.01%)+(M18>0.01%)+(S5>0.01%)+(S18>0.01%)+(X18>0.01%)+(X5>0.01%)+(AD5>0.01%)+(AD18>0.01%)+(B38>0.01%)+(H38>0.01%)+(B51>0.01%)+(H51>0.01%)+(M38>0.01%)+(S38>0.01%)+(M51>0.01%)+(S51>0.01%)+(X38>0.01%)+(AD38>0.01%)+(X51>0.01%)+(AD51>0.01%))*100,"No values")

    As you can see there is a lot of cells, but at the moment the the formula is showing a +/- of .15 which its still ok for me.
    But one last request, each percentage represents a truck. I was thinking to create a separate cell that when there is a value < 1% to show it a 1 unit, whith a possibility of 24 as you can see.

  11. #11
    Registered User
    Join Date
    05-05-2016
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    16

    Re: Cell average issues

    Thank you so much for that formula, I'm running it through the motions to make sure it doesn't have no kinks.

    =IFERROR((H18+B18+B5+H5+M5+M18+S5+S18+X18+X5+AD5+AD18+B38+H38+B51+H51+M38+S38+M51+S51+X38+AD38+X51+AD51) / ((H18>0.01%)+(B18>0.01%)+(B5>0.01%)+(H5>0.01%)+(M5>0.01%)+(M18>0.01%)+(S5>0.01%)+(S18>0.01%)+(X18>0.01%)+(X5>0.01%)+(AD5>0.01%)+(AD18>0.01%)+(B38>0.01%)+(H38>0.01%)+(B51>0.01%)+(H51>0.01%)+(M38>0.01%)+(S38>0.01%)+(M51>0.01%)+(S51>0.01%)+(X38>0.01%)+(AD38>0.01%)+(X51>0.01%)+(AD51>0.01%))*100,"No values")

    As you can see there is a lot of cells, but at the moment the the formula is showing a +/- of .15 which its still ok for me.
    But one last request, each percentage represents a truck. I was thinking to create a separate cell that when there is a value < 1% to show it a 1 unit, whith a possibility of 24 as you can see.

  12. #12
    Registered User
    Join Date
    05-05-2016
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    16

    Re: Cell average issues

    Thank you so much for that formula, I'm running it through the motions to make sure it doesn't have no kinks.

    =IFERROR((H18+B18+B5+H5+M5+M18+S5+S18+X18+X5+AD5+AD18+B38+H38+B51+H51+M38+S38+M51+S51+X38+AD38+X51+AD51) / ((H18>0.01%)+(B18>0.01%)+(B5>0.01%)+(H5>0.01%)+(M5>0.01%)+(M18>0.01%)+(S5>0.01%)+(S18>0.01%)+(X18>0.01%)+(X5>0.01%)+(AD5>0.01%)+(AD18>0.01%)+(B38>0.01%)+(H38>0.01%)+(B51>0.01%)+(H51>0.01%)+(M38>0.01%)+(S38>0.01%)+(M51>0.01%)+(S51>0.01%)+(X38>0.01%)+(AD38>0.01%)+(X51>0.01%)+(AD51>0.01%))*100,"No values")

    As you can see there is a lot of cells, but at the moment the the formula is showing a +/- of .15 which its still ok for me.
    But one last request, each percentage represents a truck. I was thinking to create a separate cell that when there is a value < 1% to show it a 1 unit, whith a possibility of 24 as you can see.

+ 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] Excel to Outlook Calendar date duplication issues and blank cells causing issues
    By singerbatfink in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 02-11-2016, 07:57 AM
  2. [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
  3. Array Average Formula issues
    By mclark08fdic in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2012, 06:58 PM
  4. Replies: 3
    Last Post: 07-02-2012, 06:52 PM
  5. Issues with AVERAGE formula in CalculatedField PivotTable
    By Bhangraman in forum Excel General
    Replies: 2
    Last Post: 01-16-2012, 04:52 AM
  6. How Do I Average A Range On A Different Worksheet Then Paste The Average To A Cell
    By Cfallscat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2011, 04:14 AM
  7. Average Issues
    By tompich in forum Excel General
    Replies: 2
    Last Post: 10-10-2007, 10:34 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