Closed Thread
Results 1 to 3 of 3

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

    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
    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,

    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.

  3. #3
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

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

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

Closed 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