Formula > 0

  • Thread starter Thread starter KC
  • Start date Start date
K

KC

I'm having trouble coming up with the right formula.

If the range C8:C13 is >0, then return a 1 in the cell, otherwise return 0
in the cell.
 
=IF(MAX(C8:C13)>0,1,0)
If you mean ANY cells in the range are greater than zero.


If you mean ALL the cells are greater than zero, then use MIN instead of MAX
 
Do you mean if the sum of that range is >0, or if any cell in the range is
 
I'm having trouble coming up with the right formula.
If the range C8:C13 is >0, then return a 1 in the cell,
otherwise return 0 in the cell.

What do you mean by "if the range > 0": if the sum of the range; if
each cell is zero; or if any one cell is zero?

For the sum:

=if(sum(C8:C13) > 0, 1, 0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top