multiple functions in a single cell

J

John C.

Example: I want to be able to display "Cathy's Check" in cell G4 by typing
the number "2" in cell B4 but I also want to display "John's Check" in cell
G4 by typing the number "3" in cell B4 as well. Can some one help me please!
 
B

Bernard Liengme

=IF(G4=2,"Cathy's Check", if(G4=3,"John's Check" ,"")

This is display nothing if G4 is other than 2 or 3
If the list gets longer, a lookup function would be appropriate.
best wishes
 
G

Gary''s Student

Use an IF statement in G4:

=IF(B4=2,"Cathy's Check",IF(B4=3,"John'sCheck",""))
 

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