+ Reply to Thread
Results 1 to 3 of 3

Helper Column IF Statement!

  1. #1
    Registered User
    Join Date
    11-26-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2007
    Posts
    18

    Helper Column IF Statement!

    Hi All, another question on IF Statements...


    Column A lists a bunch of sports (ex. Soccer, Hockey, Golf, Baseball)

    How would I create the following helper column in B1:

    If A1 = "Soccer" or "Golf", then B1 replicates that value (either 'Soccer' or 'Golf').........but if A1 has any sport other than Soccer or Golf (ex. Hockey or Baseball), then input value "Other" in B1.


    THanks!!!!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Helper Column IF Statement!

    try this...

    =if(or(A1="soccer",A1="golf"),A1,"Other")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-26-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Helper Column IF Statement!

    Awesome, thank you!!

+ 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