+ Reply to Thread
Results 1 to 17 of 17

Average Formula Not Working - Nothing Shows Up

  1. #1
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Average Formula Not Working - Nothing Shows Up

    We have three clients who use a tracking workbook that we have created which have formulas that are not calculating. Most of the workbook is calculating - I've noticed the cells that are not are averaging data from several month sheets.

    These are new clients who have not filled out previous months - I think that's the problem. Here is my formula (on the May page): =IFERROR(AVERAGE(Jan!K34,Feb!H34,March!H34,April!H34,H34),"")

    If I go in and manually enter data for K34 & H34 for each month then the cell does calculate. So, it thinks there is an error which is why it won't calculate.

    What can I do to fix this? Thank you in advance!

  2. #2
    Registered User
    Join Date
    06-25-2011
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Formulas Not Working - Nothing Shows Up

    Not too much to go on, but it seems that any empty data from the months that have not been filled will not calculate. Can you provide more info.

    MZING81

  3. #3
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Formulas Not Working - Nothing Shows Up

    I'm sorry - I'm new at this. (Thanks for the quick response!) Not sure what data you need. But, I do think the problem is empty data. Cells J!K34, Feb!H34, March!H34 and April!H34 are all blank - the only one that has data in it is H34.

    I'm thinking since the cell has an if error then blank - that's why nothing is showing up. So, I guess there is an error with the Average Function? Maybe since four of the cells it's calculating from are blank the formula can't work? I was thinking the Average function would recognize a cell was blank and not use it as part of the formula.

    Let me know what additional information I can provide. Thanks again!

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Formulas Not Working - Nothing Shows Up

    Maybe

    =IFERROR(AVERAGE(Jan!K34,Feb!H34,March!H34,April!H34,H34),0)
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Average Formula Not Working - Nothing Shows Up

    Thanks, RoyUK! When I change the formula to =IFERROR(AVERAGE(Jan!K34,Feb!H34,March!H34,April!H34,H34),0) it does give me a 0%. So, I know there is an error with the Average Function. I would think it if it's averaging from 5 cells and 4 of those are blank then it should just be the one cell that does have data, right? The number from the one cell divided by 1. But, maybe I'm misunderstanding how that formula really works.

    Any other ideas?

  6. #6
    Registered User
    Join Date
    06-19-2012
    Location
    N/A
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Average Formula Not Working - Nothing Shows Up

    If the AVERAGE function is throwing an error, maybe you could SUM the values and divide them by the number of nonblank cells in the range, like:

    Please Login or Register  to view this content.
    Hope this helps.

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Average Formula Not Working - Nothing Shows Up

    Average should not be bothered by blank cells. Something else must be going on. Can you copy and paste the offending cells/row into a dummy spreadsheet and upload that for us to look at? (Go advanced> Manage attachments)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  8. #8
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Average Formula Not Working - Nothing Shows Up

    rob.barnes01 - I tried your formula and got division error. I took part of your formula (=SUM(Jan!K34,Feb!H34,March!H34,April!H34,H34) and copied/pasted it into a new cell and still got the error - so I'm thinking it is not summing the cells up right. One other piece of information that may be useful - they are percentages. Do you think that would make a difference?

    ChemistB - I can do that but the problem is it's pulling cells from different sheets - do I need to post all of them? I'm not sure if I can share this for our copyright purposes. I did try to copy and paste just that section to a new workbook but got reference errors (I guess because it's not connected to the other sheets any longer.

  9. #9
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Average Formula Not Working - Nothing Shows Up

    can you try using averageif or averageifs with conditions like <>"" or <>0 or <>" "
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  10. #10
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Average Formula Not Working - Nothing Shows Up

    So, in my research, the problem is my criteria is not one column - it's individual cells from different pages of the workbook. I'm not really clear how I could use it this way. I think the fact they are from different sheets is messing it up.

  11. #11
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Average Formula Not Working - Nothing Shows Up

    Okay - trying to build the formula to test it out. What am I doing wrong?

    =AVERAGEIF(Jan!K292,Feb!H293,March!H293,April!H293,May!H293,H293, ">0",Jan!K292,Feb!H293,March!H293,April!H293,May!H293,H293)

  12. #12
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Average Formula Not Working - Nothing Shows Up

    I changed it to this and got a Value error:

    =AVERAGEIF((Jan!K292,Feb!H293,March!H293,April!H293,May!H293,H293), ">0",(Jan!K292,Feb!H293,March!H293,April!H293,May!H293,H293))

  13. #13
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Average Formula Not Working - Nothing Shows Up

    Bumping for more help - thank you in advance!

  14. #14
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Average Formula Not Working - Nothing Shows Up


  15. #15
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Average Formula Not Working - Nothing Shows Up

    Okay - going to read those now - thank you, Cutter!

    I also just scheduled a session with a local Excel/Computer Programmer. Enough is enough - I just can't figure it out. I'll be sure to post the solution on Monday after our meeting. Thanks for all the help!

  16. #16
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Average Formula Not Working - Nothing Shows Up

    @ Jenn.
    I pm. you yesterday you didn't post the formula which is giving the error
    from these cells Jan!K34,Feb!H34,March!H34,April!H34,H34 that's returning an error for every solution being given to you.

    by the way i meant averageif for mutiple tabs maybe, as i would notice all cells are H34

    the above was just a suggestion(to test) not actually a solution.

    i know also that averageif works with single range
    i meant using averageif like this one

    =AVERAGE(Sheet1:Sheet100!H34)

  17. #17
    Registered User
    Join Date
    06-19-2012
    Location
    Texas
    MS-Off Ver
    Mac Excel 2011
    Posts
    10

    Re: Average Formula Not Working - Nothing Shows Up

    Oh, that makes more sense. I'm sorry - I didn't realize I had a message from you. I didn't know you could do that! =AVERAGE(Sheet1:Sheet100!H34) The only problem with that solution is that the January tab is different than all the rest - off by a couple of rows. This formula is used 10 times on each monthly sheet - there is a section for 5 doctors and 5 hygienists on each tab - not sure if that makes sense. I'll play with that and see what happens. Thanks so much!

    Jennifer

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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