+ Reply to Thread
Results 1 to 9 of 9

#DIV/0! - I don't want it to show up in my cells

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

    #DIV/0! - I don't want it to show up in my cells

    I have attached a sample of my workbook. I am wanting the formula I currently have in cells BE10 and BE11 but I don't want them to show DIV/0 if the cells they pick their data up from are empty.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: #DIV/0! - I don't want it to show up in my cells

    What do you want it to show?

    =IFERROR(SUM(C8,L8,U8,AD8,AM8,AV8)/(BD8*830),0)

    will return 0.

    =IFERROR(SUM(C8,L8,U8,AD8,AM8,AV8)/(BD8*830),"")

    will return a blank.

    =IFERROR(SUM(C8,L8,U8,AD8,AM8,AV8)/(BD8*830),"your_message")

    will return bespoke text.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: #DIV/0! - I don't want it to show up in my cells

    Thank you very much!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: #DIV/0! - I don't want it to show up in my cells

    No problem.

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

    Re: #DIV/0! - I don't want it to show up in my cells

    If I didn't want to put data in like I left out in cell AV10 how would I make cell BE10 stop picking up zero percentage? I'd only like BE10 to divide by BD10*830 only if it picks up data that are in the cells like AV10. I have reattached an updated workbook.
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: #DIV/0! - I don't want it to show up in my cells

    This maybe?

    =IF(COUNT(C10,L10,U10,AD10,AM10,AV10)=6,IFERROR(SUM(C10,L10,U10,AD10,AM10,AV10)/(BD10*830),""),"")

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

    Re: #DIV/0! - I don't want it to show up in my cells

    Hmm I tried that and placed 6400 into cell AV10 to see what would come up in BE10 and it just stays blank. I attached what I tried.
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: #DIV/0! - I don't want it to show up in my cells

    You implied that all of those 6 cells needed something in them.

    Please explain more fully and in detail EXACTLY what you are trying to do. At the moment, it feels a bit like one of those pictures that is revealed bit by bit, and we're not yet seeing the whole thing.

    I don't like shifting goalposts (they are a time-waster), so I'll wait now until you've given the whole story.

    And you need to remove the SOLVED tag!
    Last edited by AliGW; 07-06-2021 at 07:04 AM.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: #DIV/0! - I don't want it to show up in my cells

    In BE8

    =IFERROR(SUMPRODUCT(($C8:$BB8)*($C$4:$BB$4="Weld"))/($BD8*830),0)

    Change "Weld" to appropriate headings BJ,BJ,BK

    You can hide zeros with this format:

    0;-0;;@
    Last edited by JohnTopley; 07-06-2021 at 08:57 AM.

+ 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] To skip empty cells & show blank cells if #DIV/0! error
    By mikehk in forum Excel General
    Replies: 3
    Last Post: 07-22-2020, 03:23 AM
  2. Replies: 3
    Last Post: 02-21-2020, 12:30 AM
  3. Replies: 2
    Last Post: 12-02-2019, 06:29 AM
  4. Division Formula cells show error when cells its based on are 0
    By varxtis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2019, 05:41 PM
  5. Replies: 3
    Last Post: 05-15-2017, 03:24 PM
  6. Formula to show percentage of cells in each segment in custom formatted cells
    By newbie_Lau in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-03-2016, 01:21 PM
  7. If 2 cells values are both 0 show 'No Order=, otherwise show " "
    By msritchie2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-27-2008, 08:22 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