+ Reply to Thread
Results 1 to 3 of 3

Nested IF statements with Text as IF and THEN (Excel 2007)

Hybrid View

  1. #1
    Registered User
    Join Date
    12-12-2010
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Cool Nested IF statements with Text as IF and THEN (Excel 2007)

    I am trying to translate the text values in one column to be a new value in another column. I keep receiving a #Name? error when I try the following in the destination field:

    =IF(A2=”Smith”),"Team 1",IF(A2=”Jones”),“Team 2”

    Will Excel 2007 allow text values to be entered as both an IF and THEN ?

    Is there a different way to do this formula?

    Thank you!

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Nested IF statements with Text as IF and THEN (Excel 2007)

    Try:

    =IF(A2=”Smith”,"Team 1",IF(A2=”Jones”,“Team 2”,""))
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Nested IF statements with Text as IF and THEN (Excel 2007)

    mrsbigglesworth,

    Your other post has been closed after I responded to it.

    Try:

    =IF(A2="Smith","Team 1",IF(A2="Jones","Team 2",""))
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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