+ Reply to Thread
Results 1 to 3 of 3

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

  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 Guru ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    traded up
    MS-Off Ver
    2003 & 2010
    Posts
    1,905

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

    Try:

    =IF(A2=”Smith”,"Team 1",IF(A2=”Jones”,“Team 2”,""))
    “To sin by silence when they should protest makes cowards of men.” ~ Abraham Lincoln

  3. #3
    Forum Guru
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2003, 2007.
    Posts
    1,462

    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
    stanleydgromjr
    Windows Vista Business, Excel 2003 and 2007

    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.2.0