Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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(G81,"years","year")*IF(G8<1,"years") My problem is that I can't override the first false conclusion. Any suggestions? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Seems to me that you really only have two options (1 or Not 1). Try this:
=if(G8=1,"year","years") HTH, Elkar "Libby" wrote: 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(G81,"years","year")*IF(G8<1,"years") My problem is that I can't override the first false conclusion. Any suggestions? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You need to add the two formulas together. Try:
=IF(G81, "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. "Libby" wrote: 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(G81,"years","year")*IF(G8<1,"years") My problem is that I can't override the first false conclusion. Any suggestions? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Much thanks. I was making it too complicated.
"NUMBnut" wrote: You need to add the two formulas together. Try: =IF(G81, "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. "Libby" wrote: 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(G81,"years","year")*IF(G8<1,"years") My problem is that I can't override the first false conclusion. Any suggestions? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Libby
But what if G8 is negative? Perhaps =IF(ABS(G8)=1,"year","years") -- Regards Roger Govier "Libby" wrote in message ... Much thanks. I was making it too complicated. "NUMBnut" wrote: You need to add the two formulas together. Try: =IF(G81, "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. "Libby" wrote: 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(G81,"years","year")*IF(G8<1,"years") My problem is that I can't override the first false conclusion. Any suggestions? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=if(g8=1,"year","years")
or ="year"&if(g8=1,"","s") Libby wrote: 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(G81,"years","year")*IF(G8<1,"years") My problem is that I can't override the first false conclusion. Any suggestions? -- Dave Peterson |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
="year"&IF(G81,"s","")
-- HTH RP (remove nothere from the email address if mailing direct) "Libby" wrote in message ... 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(G81,"years","year")*IF(G8<1,"years") My problem is that I can't override the first false conclusion. Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change to formulae | Excel Worksheet Functions | |||
Searching TEXT in formulae, rather than results of formulae | Excel Worksheet Functions | |||
Dynamic formulae - similar to lotus 123 for excel | Excel Discussion (Misc queries) | |||
XL2002 Clipboard doesn't paste formulae | Excel Discussion (Misc queries) | |||
vlookup change column index position - without changing formulae | Excel Worksheet Functions |