Results 1 to 12 of 12

Excel "Text Search" through different types of text and action based on text

Threaded View

  1. #1
    Registered User
    Join Date
    10-14-2008
    Location
    nigeria
    Posts
    7

    Excel "Text Search" through different types of text and action based on text

    Folks,

    I was wondering if someone could help me out with an automation task.

    1. Search an excel sheet "column" for a particular type of text and insert values based on that text (if found) in another column.

    e.g I have column A1 to A10 with different types of text. I would like to search for the keyword "Risk is high" OR "Risk=High" for each cell in the column and insert a "1" if found beside it's corresponding "B" column. If not found, I would like to insert a "0".

    So, if the text "Risk is high" OR "Risk=High" was only found in A6, I would like B6 to be "1". Rest of the values in the B column would be "0's", since the text was not found in any of the other cells.

    I can create basic macros, but I am not very great in excel. Please help.
    Last edited by VBA Noob; 10-15-2008 at 04:51 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Iterate thru sheets in workbook; take action based on text (string) value in cell
    By Trebormac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2007, 10:18 PM

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