Correct Function to Use

  • Thread starter Confused novice here AGAIN
  • Start date
C

Confused novice here AGAIN

in Colum A row 4 I have the word John or Fred or what ever and i want in
colum b to have a function that tells me A4 is John or fred or whatever i
have there.
 
J

JoeU2004

Confused novice here AGAIN said:
in Colum A row 4 I have the word John or Fred or what ever and i want in
colum b to have a function that tells me A4 is John or fred or whatever i
have there.

If you simply want to copy A4, then in a cell in column B:

=A4

But if you want to test the contents of A4, then in a cell in column B:

a. If you simply want to test for one name, for example Fred:

=if(A4="Fred",true,false)

or simply:

=A4="Fred"

b. If you want to test for any one of a set of names, then:

=if(or(A4={"Fred","John","whatever"}),true,false)

or:

=or(A4={"Fred","John","whatever"})
 

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

Similar Threads

Excel 2003 function?????? 0
Split cells next to 1 cell 1
Remove Identical words 0
Excel --> Word 4
Function Problem 6
Excel - Wich Function should I use? 1
Delete all data after a symbol in a field 0
name sorting 4

Top