+ Reply to Thread
Results 1 to 2 of 2

How to find partial information in a cell and replace the whole cell content with a value?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-26-2013
    Location
    Netherlands
    MS-Off Ver
    Excel for Mac 2011
    Posts
    1

    How to find partial information in a cell and replace the whole cell content with a value?

    Hi Everyone,

    I am coding my excel file as a preparation for some SPSS data analysis. I want a cell to have the new value "1" when a current cell contains the text "Research & Development Services" and I want the cell to have the new value "0" when the cell contains anything but "Research & Development Services". I attach a picture in order to make things more clear. I genuinely hope somebody can help me out, because the find and replace function only replaced the "Research & Development" text and left the other text in the cell.

    Thank you!

    Glenn


    Schermafbeelding 2013-06-26 om 17.09.09.png

  2. #2
    Registered User
    Join Date
    05-20-2013
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: How to find partial information in a cell and replace the whole cell content with a va

    Try this formula in column B1: =IF(A1="Research & Development Services",1,0)

    Research & Development Services 1
    Testing Services 0
    Work Services 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