can i create formula to make cell PLURAL if other cell is >1?

M

me@BBB

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!
 
D

David Biddulph

=IF(A1>1,B1&"s",B1)
but note that if B1 has "mouse", this formula would return "mouses", not
"mice".
 
M

Mike H

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
 
T

T. Valko

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
 
M

me@BBB

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!!
 
R

RagDyer

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")
 
M

me@BBB

MY MISTAKE!!!! please disregard my previous post! i realized that i typed a
space after the word(s).

thanks for the great help, gentlemen!!!
 

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

Top