+ Reply to Thread
Results 1 to 3 of 3

Enter Specific text by comparing other cell

  1. #1
    Forum Contributor
    Join Date
    02-13-2014
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    140

    Enter Specific text by comparing other cell

    I have Worksheet with data from Column A to Column G.

    Column B contains URL of some Advertisements. In URL there are specific words like "-for-rent-in-" , "-for-rent-lease-in-" and "-for-sale-in-"

    I want specific word in Column H based on content in Column B

    If Column B contains "-for-rent-in-" then need text "Rent" in Column H

    If Column B contains "-for-rent-lease-in-" then need text "Rent1" in Column H

    If Column B contains "-for-sale-in-" then need text "Sale" in Column H


    Please find attached worksheet. Result marked in Yellow
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Enter Specific text by comparing other cell

    try this:

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Spammer
    Join Date
    02-04-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    190

    Re: Enter Specific text by comparing other cell

    Solution with formula
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 01-04-2014, 10:11 PM
  2. [SOLVED] Enter formula only if a cell does not contain specific text
    By lday75 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-24-2013, 01:45 PM
  3. Replies: 3
    Last Post: 09-20-2013, 04:24 PM
  4. [SOLVED] Return alt-enter when enter is pressed in a specific cell
    By bigsteve in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2013, 10:21 AM
  5. [SOLVED] Need formula to enter specific text if a column contains other specific text
    By sugarmags74 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2012, 12:09 AM
  6. When a date entered on a specific cell, automatically enter a text in other cell
    By mmccra2858 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2012, 09:57 AM
  7. MACRO: enter value in cell if another cell contains specific text
    By linakapp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2011, 12:28 PM
  8. Enter text into a specific cell using a userform
    By Cushionsupplier in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2010, 05:38 PM

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