+ Reply to Thread
Results 1 to 6 of 6

If cell contains specific text, check cell next to it

  1. #1
    Registered User
    Join Date
    08-29-2012
    Location
    Michigan
    MS-Off Ver
    Office 2010 Pro
    Posts
    12

    If cell contains specific text, check cell next to it

    Greetings,

    I'm trying to have my macro search for a specific text in a cell. For example:


    If range("H2").value = "6" then
    make sure there is text in I3

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: If cell contains specific text, check cell next to it

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-29-2012
    Location
    Michigan
    MS-Off Ver
    Office 2010 Pro
    Posts
    12

    Re: If cell contains specific text, check cell next to it

    this is the full formula, but it's not working correct


    Please Login or Register  to view this content.
    Last edited by Cutter; 08-29-2012 at 08:16 PM. Reason: Added code tags

  4. #4
    Registered User
    Join Date
    08-29-2012
    Location
    Michigan
    MS-Off Ver
    Office 2010 Pro
    Posts
    12

    Re: If cell contains specific text, check cell next to it

    Got it Thanks!

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: If cell contains specific text, check cell next to it

    You're welcome. Glad to help out.

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: If cell contains specific text, check cell next to it

    @ wyanrandy

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

+ 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