+ Reply to Thread
Results 1 to 5 of 5

Removing #DIV/O! when completing an average

  1. #1
    Registered User
    Join Date
    12-29-2020
    Location
    Kansas
    MS-Off Ver
    Office 365
    Posts
    16

    Removing #DIV/O! when completing an average

    I have attached a sample workbook, as you can tell I am coming up with a Div0 on the lines that don't have data enter yet. I am wanting the line to just come up blank if the average can't be completed.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,923

    Re: Removing #DIV/O! when completing an average

    Try this:

    =IFERROR( Your formula,"")

  3. #3
    Registered User
    Join Date
    12-29-2020
    Location
    Kansas
    MS-Off Ver
    Office 365
    Posts
    16

    Re: Removing #DIV/O! when completing an average

    I've tried that but can't get it to work since I'm trying to average cells J2 and P2 into cell D2.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,502

    Re: Removing #DIV/O! when completing an average

    change your formula in C1 to this =IFERROR(SUM(D2/1.46),0) then copy down. that'll get rid of the div/0 error.
    also change your formula in D1 to this... =IFERROR(AVERAGE(P2,J2),"") or this =IFERROR(AVERAGE(P2,J2),0) too.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,502

    Re: Removing #DIV/O! when completing an average

    Thank you for the rep!

+ 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. Average values while removing outliers
    By Lsxtrkiller in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2020, 02:52 AM
  2. [SOLVED] Removing wording to get a proper average
    By hendo0302 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-16-2014, 10:21 PM
  3. Need help completing a graph
    By Kimatsu in forum Excel General
    Replies: 0
    Last Post: 01-09-2014, 02:01 PM
  4. [SOLVED] Average a set of numbers any removing all zeros from calculation
    By helpbitte in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-24-2012, 07:31 PM
  5. Average Cells (Removing Zeros on Tails)
    By John Bates in forum Excel General
    Replies: 6
    Last Post: 02-21-2012, 11:56 AM
  6. Removing non existant values from an 'average calculation
    By alocke in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2012, 04:48 PM
  7. For Loop not completing
    By somnath.deb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2011, 11:55 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