+ Reply to Thread
Results 1 to 2 of 2

conditional formatting of a cell based on part of a formula already in that cell

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    conditional formatting of a cell based on part of a formula already in that cell

    Hi,

    SO I'm running into a complication in formatting and I'm wondering if there is a solution.

    So I'm creating a table to find averages. Thus far I have a formula as such:

    =E6/(SUMIFS(Table[Column 1],Table[Column 2],"Classification Type",Table[Column 3],">0"))

    Because I haven't gotten anything yet to post under a certain classification type in my data, I get the Standard error message "#DIV/0!" when I press enter. Is there a way that I can format it so if the denominator in the equation above = 0, then the whole cell shows 0, but if it DOES have a value >0 that it'll just carry out the formula? I've been looking for hours trying to find a way to do it and just can't!

    Thanks!

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: conditional formatting of a cell based on part of a formula already in that cell

    =IFERROR(E6/(SUMIFS(Table[Column 1],Table[Column 2],"Classification Type",Table[Column 3],">0")),0)

    Will this work for you?
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

+ 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. conditional formatting based on PART of a cell value
    By agni452 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2012, 05:37 AM
  2. Replies: 3
    Last Post: 05-25-2012, 03:30 PM
  3. conditional formatting based on formula not cell value
    By Ramzes in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-03-2011, 07:34 AM
  4. Replies: 1
    Last Post: 05-20-2010, 02:07 PM
  5. Conditional Formatting based on part content of a cell
    By Paul Sheppard in forum Excel General
    Replies: 2
    Last Post: 09-10-2009, 01:06 PM

Tags for this Thread

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