"IF" Formulae

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

Guest

I'm trying to create a formula causing one of three answers. The object
being any one of 0, 1 or >1. I need 0 an >1 to answer "years" and 1 to
answer "year". My efforts below.

=IF(G8>1,"years","year")*IF(G8<1,"years")

My problem is that I can't override the first false conclusion. Any
suggestions?
 
Seems to me that you really only have two options (1 or Not 1). Try this:

=if(G8=1,"year","years")

HTH,
Elkar
 
You need to add the two formulas together. Try:
=IF(G8>1, "years","year")+IF(G8<1,"years")
In all reality, you shouldn't even need the second formula, but try that
above and it should work.
 
Much thanks. I was making it too complicated.

NUMBnut said:
You need to add the two formulas together. Try:
=IF(G8>1, "years","year")+IF(G8<1,"years")
In all reality, you shouldn't even need the second formula, but try that
above and it should work.
 
="year"&IF(G8>1,"s","")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Hi Libby

But what if G8 is negative?
Perhaps =IF(ABS(G8)=1,"year","years")
 

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