+ Reply to Thread
Results 1 to 3 of 3

Check if any cell in a range of cells has a value greater than 1 - Macro?

  1. #1
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Check if any cell in a range of cells has a value greater than 1 - Macro?

    I want to check if a range of 16 cells has a value greater than one, I want to use one cell to do this, do I need a macro or can it be done with a function?
    Last edited by caliskier; 02-20-2012 at 05:46 PM.

  2. #2
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Re: Check if any cell in a range of cells has a value greater than 1 - Macro?

    Sorry, I answered my own question, using the blank cells off to the right I can use the formula =if(D1>$A$1,1,0) then use another cell to sum all those, if the answer <>0 then I have my check.

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Check if any cell in a range of cells has a value greater than 1 - Macro?

    Hi Caliskier,

    You should also be able to use:

    =COUNTIF(A1:A16,">1")

    If that returns any number greater than 0 it means you have a value greater than 1 in the range.

+ 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