Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

How do I make it so that if any number in the range C6:D11 on PAGE is less than zero, output "Some words" and if not, output "Some other words"?

I tried using =IF(PAGE!C6:D11 < 0, "Some words", "Some other words"), but I that gave me an error saying "Range has no entry corresponding to this cell".

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

The problem is that you are passing the IF function an array (range), while it only supports a single value.

Try

=IF(MIN(PAGE!C6:D11) < 0, "Some words", "Some other words")

The MIN function finds the minimum value in your range.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.