i have 2 columns of cells.
column ONE is numeric (1,2,3,etc)
column TWO is text (group, trip, etc)
what forumla can i use to make column TWO to be plural based upon whether
column ONE is greater than one or not?
thanks!
David Biddulph - 24 Jul 2008 20:59 GMT
=IF(A1>1,B1&"s",B1)
but note that if B1 has "mouse", this formula would return "mouses", not
"mice".
--
David Biddulph
>i have 2 columns of cells.
> column ONE is numeric (1,2,3,etc)
[quoted text clipped - 3 lines]
>
> thanks!
RagDyer - 24 Jul 2008 21:12 GMT
I think that perhaps if A1 were 0,
The plural might be proper -
0 cats appeared today.
not
0 cat appeared today.
Therefore, maybe:
=If(A1=1,B1,B1&"s")

Signature
Regards,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
> =IF(A1>1,B1&"s",B1)
> but note that if B1 has "mouse", this formula would return "mouses", not
[quoted text clipped - 9 lines]
>>
>> thanks!
Mike H - 24 Jul 2008 21:04 GMT
Hi,
To do it in column B would require VB but you can put this in column C
=IF(A1>1,B1&"s",B1)
Mike
> i have 2 columns of cells.
> column ONE is numeric (1,2,3,etc)
[quoted text clipped - 3 lines]
>
> thanks!
me@BBB - 24 Jul 2008 21:11 GMT
that is AWESOME!!!
BUT
it leaves a space between the word and the S. how can i remove it?
otherwise, my test looks like:
trip
trip s
trip s
trip
thanks SO much for the F A S T reply!!
> Hi,
>
[quoted text clipped - 11 lines]
> >
> > thanks!
me@BBB - 24 Jul 2008 21:18 GMT
MY MISTAKE!!!! please disregard my previous post! i realized that i typed a
space after the word(s).
thanks for the great help, gentlemen!!!
> that is AWESOME!!!
>
[quoted text clipped - 25 lines]
> > >
> > > thanks!
T. Valko - 24 Jul 2008 21:09 GMT
Maybe something like this:
A1 = 7
B1 = group
C1: =B1&IF(A1>1,"s","")
Then maybe hide column B.
However, this depends on what the words are in column B because some plurals
don't just add an S:
box = boxes
fish = fish or fishes
city = cities

Signature
Biff
Microsoft Excel MVP
>i have 2 columns of cells.
> column ONE is numeric (1,2,3,etc)
[quoted text clipped - 3 lines]
>
> thanks!