+ Reply to Thread
Results 1 to 3 of 3

How do I make an if statement

  1. #1
    Registered User
    Join Date
    04-23-2012
    Location
    Ontario
    MS-Off Ver
    Excel 2003
    Posts
    2

    How do I make an if statement

    I'm looking to make an if statement.

    In cell a1 down to a10, i have names.

    In cell b2, I'd like to put a formula so that if a certain name between a1:a10 shows up, to put an x in b2, if not, put a number zero.


    any help would be appreciated!

  2. #2
    Registered User
    Join Date
    04-23-2012
    Location
    Ontario
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: How do I make an if statement

    I've tried =if(a1:a10,"Mike",x,0) is this right?

  3. #3
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: How do I make an if statement

    =IF(COUNTIF(A1:A10,"Mike")>0,"x",0)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1