values in IF formulas

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a basic table whereby if a cell is less than zero or greater than
zero, I want the next cell to display a '-' or '+' sign. However, the formula
(as shown below) shows that the name is not valid or contains an error:

I7: =IF(H7<0, [-], [+])

How do I make this work? Is there a problem with using non-numbers or
letters in IF formulas?
 
I7: =IF(H7<0, [-], [+])

In I7: =IF(H7<0,"-","+")
(use double quotes instead)
 
Just being a stickler...
if a cell is less than zero or greater than zero

What if the cell IS zero?

Biff

Prima1 said:
I have a basic table whereby if a cell is less than zero or greater than
zero, I want the next cell to display a '-' or '+' sign. However, the
formula
(as shown below) shows that the name is not valid or contains an error:

I7: =IF(H7<0, [-], [+])

How do I make this work? Is there a problem with using non-numbers or
letters in IF formulas?
 

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

Back
Top