Go Back

How to Check if a Cell is Greater Than

We can use the IF Function to check if a cell has a value that is greater than the specified criteria. The IF function returns TRUE if the condition is met and FALSE if otherwise. The steps below will walk through the process.

Figure 1: How to Check if a Cell is Greater Than

Syntax

= IF(logical_test,[value_if_true],[value_if_false])

Formula

=IF(C4>1000,"Pass","Fail")

Setting up the Data

  • We will set up the data by inputting the WEIGHT into Column A
  • We will input the cost per kg into Column B
  • Column C contains the result of the multiplied values in Column A with Column B
  • Column D is where we want the formula to return the result if the cells in Column C are greater than 1000

Figure 2: Setting up the Data

If a Cell is Greater than 1000

  • We will click on Cell D4
  • We will insert the formula below into the cell
    =IF(C4>1000,"Pass","Fail")
  • We will press the enter key

Figure 3: Result for Cell D4 Indicating it is Less Than 1000

  • We will click on Cell D4 again
  • We will double-click on the fill handle (the small plus sign at the bottom right of Cell D4) and drag down to copy the formula into the other cells

Figure 4: Result for Column D with the IF function

Explanation

=IF(C4>1000,"Pass","Fail")

The logical test is checked if the value of IS Cell C4 is GREATER THAN 1000. If this is TRUE, the IF Function returns PASS and FAIL if otherwise.

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

if cell a1 is greater than or less than 5% of b2 yes if not no
Solved by Z. D. in 14 mins
I need to work out if on cell is greater than 6 then another cell needs to put this figure in but minus 0.5 Also can i get another cell to add text 'BREAK' if a cell is greater than 6
Solved by O. L. in 19 mins
I found how to do an if/then statement but I cannot find out if there is a way to make it do what I want. I want to know if one cell is greater than another cell by a certain amount. For example, is cell A2 greater than cell A1 by more than .25.
Solved by V. A. in 26 mins

Leave a Comment

avatar