+ Reply to Thread
Results 1 to 4 of 4

Test Range of Cells for a Value 0

  1. #1
    Registered User
    Join Date
    09-01-2010
    Location
    SoCal
    MS-Off Ver
    Excel 2010
    Posts
    62

    Test Range of Cells for a Value 0

    Greetings.

    I need to know if any of my formulas in a certain range have a value of 0 (zero). Range has multiple rows and columns.

    I don't need conditional formatting on the cells themselves, I need this to appear in a separate area of the sheet, like a dashboard.

    For instance:

    Cell a1: new Formula with result of "Zero Exists" or "No Zeroes"

    Range that might have zeroes: W20:AH40


    I have used the search function but haven't seen anything that works for me.

    Thanks for looking!!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,739

    Re: Test Range of Cells for a Value 0

    Try this:

    =IF(COUNTIF(W20:AH40,0)>0,"Zero exists","No Zeroes")

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-01-2010
    Location
    SoCal
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Test Range of Cells for a Value 0

    Very excellent answer! Perfect!

    Thank you so much, reputation added.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,739

    Re: Test Range of Cells for a Value 0

    Thanks for feeding back - glad to be of help.

    Pete

+ 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