+ Reply to Thread
Results 1 to 13 of 13

Formula Befuddled

  1. #1
    Registered User
    Join Date
    10-03-2015
    Location
    Northern, Alberta
    MS-Off Ver
    2016
    Posts
    50

    Formula Befuddled

    I have a 10 X 10 block (simple I know) Columns C to L and Rows 3 to 12. In column M it calculates the STDV on its respective ROW and Column N calculates the EXTREME SPREAD of its ROW.

    Then I want to catch the AVERAGE of both Columns M and N in Row 13. I use =AVERAGE(M3:N3) in cell N13. And it works even if there is an empty cell in the COLUMN.

    However, using the same formula in CELL M13, it returns a #DIV/0! until all cells are populated. :-(

    Why is that? Is their a way around it?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,565

    Re: Formula Befuddled

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-03-2015
    Location
    Northern, Alberta
    MS-Off Ver
    2016
    Posts
    50

    Re: Formula Befuddled

    I've tried to add the file

  4. #4
    Registered User
    Join Date
    10-03-2015
    Location
    Northern, Alberta
    MS-Off Ver
    2016
    Posts
    50

    Re: Formula Befuddled

    De-Primed Fired Cases. COAL measurement 10 times.
    1 2 3 4 5 6 7 8 9 10 STDV ES
    TrueX Caliper 1 1.4000 1.5000 0.0707 0.1000
    2 1.2000 1.1000 1.4000 1.5000 1.6000 0.2074 0.5000
    3 1.0000 2.0000 3.0000 1.0000 2.0000
    4 0.7500 0.2500 0.3536 0.5000
    5 1.5000 0.7500 0.5303 0.7500
    6 1.2000 1.4000 0.1414 0.2000
    7 0.8000 0.9000 0.0707 0.1000
    8 0.7000 0.5000 0.1414 0.2000
    9 0.3000 0.6000 0.2121 0.3000
    10 0.4000 #DIV/0! 0.0000
    Avg #DIV/0! 0.4650
    Last edited by RustyRick; 11-22-2022 at 08:36 PM.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,565

    Re: Formula Befuddled

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Formula Befuddled

    I want to catch the AVERAGE of both Columns M and N in Row 13
    If you want the average of Column M and the average of Column N Please try in M13 =AVERAGE(M3:M12) and copy to N13.
    If you want 1 average for both columns, please try =AVERAGE(M3:N12).

    These formulas do not give DIV/0 if at least 1 cell in the specified range is filled in with a numeric value.
    Last edited by HansDouwe; 11-23-2022 at 10:32 AM.

  7. #7
    Registered User
    Join Date
    10-03-2015
    Location
    Northern, Alberta
    MS-Off Ver
    2016
    Posts
    50

    Re: Formula Befuddled

    That is the formula I have used for years.

    In cell M13 I have =AVERAGE(M3:M12) It works for column N in cell N13. But until all 10 cells in column M are filled, I get #DIV/0! The moment I complete all the cells with data in M, the calculation happens. I don't think I have ever seen this.

    I'm going to try to add my file.

  8. #8
    Registered User
    Join Date
    10-03-2015
    Location
    Northern, Alberta
    MS-Off Ver
    2016
    Posts
    50

    Re: Formula Befuddled

    I'm trying to attach a file?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    10-03-2015
    Location
    Northern, Alberta
    MS-Off Ver
    2016
    Posts
    50

    Re: Formula Befuddled

    Da Da Whew I think I suceeded

  10. #10
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Formula Befuddled

    STDEV(C12:L12) is causing a DIV/0 error that you formatted invisible.
    That is causing a DIV/0 error in the average function AVERAGE (M3:M12)

    Please try in M3 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by HansDouwe; 11-23-2022 at 04:31 PM.

  11. #11
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Formula Befuddled

    test test test can deleted sorry

  12. #12
    Registered User
    Join Date
    10-03-2015
    Location
    Northern, Alberta
    MS-Off Ver
    2016
    Posts
    50

    Re: Formula Befuddled

    Thanks HansDouwe I still don't know what I did to cause the problem. Thanks a bunch!!

  13. #13
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Formula Befuddled

    I don't know either, but you know bow how to solve the problem. .

    Thanks for the feedback and glad to have helped.

    Also thanks 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. Replies: 3
    Last Post: 03-24-2020, 07:27 AM
  2. Replies: 3
    Last Post: 01-10-2019, 09:34 AM
  3. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  4. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  5. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  6. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM
  7. befuddled newbie needs help
    By crosbypaws in forum Excel General
    Replies: 2
    Last Post: 08-18-2013, 12:15 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